clear preview contents while loading project thumbnail

upd4.2
Bernat Romagosa 2018-02-06 13:39:22 +01:00
rodzic 55d70380ac
commit 71aa10ea39
1 zmienionych plików z 2 dodań i 0 usunięć

2
gui.js
Wyświetl plik

@ -6120,6 +6120,8 @@ ProjectDialogMorph.prototype.installCloudProjectList = function (pl) {
myself.notesText.text = item.notes || '';
myself.notesText.drawNew();
myself.notesField.contents.adjustBounds();
myself.preview.texture = '';
myself.preview.drawNew();
// we ask for the thumbnail when selecting a project
SnapCloud.getThumbnail(
null, // username is implicit