kopia lustrzana https://github.com/backface/turtlestitch
Show last-changed-timestamp of cloud projects
display a tool-tip “bubble” in the “Open-Project” dialog next to the preview fieldpull/3/merge
rodzic
24f7a37a56
commit
6a4b4afbe9
16
gui.js
16
gui.js
|
@ -64,11 +64,12 @@ standardSettings, Sound, BlockMorph, ToggleMorph, InputSlotDialogMorph,
|
|||
ScriptsMorph, isNil, SymbolMorph, BlockExportDialogMorph,
|
||||
BlockImportDialogMorph, SnapTranslator, localize, List, InputSlotMorph,
|
||||
SnapCloud, Uint8Array, HandleMorph, SVG_Costume, fontHeight, hex_sha512,
|
||||
sb, CommentMorph, CommandBlockMorph, BlockLabelPlaceHolderMorph, Audio*/
|
||||
sb, CommentMorph, CommandBlockMorph, BlockLabelPlaceHolderMorph, Audio,
|
||||
SpeechBubbleMorph*/
|
||||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2014-May-20';
|
||||
modules.gui = '2014-May-26';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -4533,6 +4534,17 @@ ProjectDialogMorph.prototype.installCloudProjectList = function (pl) {
|
|||
myself.preview.texture = item.Thumbnail || null;
|
||||
myself.preview.cachedTexture = null;
|
||||
myself.preview.drawNew();
|
||||
(new SpeechBubbleMorph(new TextMorph(
|
||||
localize('last changed') + '\n' + item.Updated,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
'center'
|
||||
))).popUp(
|
||||
myself.world(),
|
||||
myself.preview.rightCenter().add(new Point(2, 0))
|
||||
);
|
||||
}
|
||||
if (item.Public === 'true') {
|
||||
myself.shareButton.hide();
|
||||
|
|
|
@ -2138,3 +2138,4 @@ ______
|
|||
------
|
||||
* Objects: Fixed #445 (minor search + zoom issues)
|
||||
* Localization additions and Portuguese translation update, thanks, Manuel!
|
||||
* GUI, cloud: Show last-changed-timestamp when opening cloud projects
|
||||
|
|
Ładowanie…
Reference in New Issue