From a635d3c888a888ff1dcdf6eb59e6407a0ca15771 Mon Sep 17 00:00:00 2001 From: Rick McGeer Date: Fri, 19 Apr 2024 17:35:51 -0700 Subject: [PATCH] reverted change to GalyleoTopBarModel following Lively fix --- package.json | 2 +- studio/top-bar.cp.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2ffeaa8..15b03a6 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "lively": { "projectDependencies": [], - "boundLivelyVersion": "01f5e02578f4d3aaa9f5f4d9bab4bfd6523f06df", + "boundLivelyVersion": "acaf0fc025a77f874d9c036b7827cdcaf624afee", "canUsePages": true } } \ No newline at end of file diff --git a/studio/top-bar.cp.js b/studio/top-bar.cp.js index f8faff5..9059c82 100644 --- a/studio/top-bar.cp.js +++ b/studio/top-bar.cp.js @@ -60,7 +60,7 @@ class GalyleoTopBarModel extends TopBarModel { } }, bindings: { - get () { + /* get () { return [ { target: 'save button', signal: 'onMouseDown', handler: (evt) => { if (this.ui.saveButton === evt.targetMorphs[0]) $world.execCommand('save world or project'); } }, { target: 'text mode button', signal: 'onMouseDown', handler: 'setEditMode', converter: () => 'Text' }, @@ -86,14 +86,14 @@ class GalyleoTopBarModel extends TopBarModel { { target: 'help button', signal: 'onMouseDown', handler: 'reportBug' }, { target: 'upload button', signal: 'onMouseDown', handler: 'publishDashboard' } ]; - } + } */ - /* get () { + get () { return super.prototype.bindings.concat([ { target: 'help button', signal: 'onMouseDown', handler: 'reportBug' }, { target: 'upload button', signal: 'onMouseDown', handler: 'publishDashboard' } ]); - } */ + } } }; }