Skip to content

Commit

Permalink
reverted change to GalyleoTopBarModel following Lively fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rickmcgeer committed Apr 20, 2024
1 parent 83a11a6 commit a635d3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"lively": {
"projectDependencies": [],
"boundLivelyVersion": "01f5e02578f4d3aaa9f5f4d9bab4bfd6523f06df",
"boundLivelyVersion": "acaf0fc025a77f874d9c036b7827cdcaf624afee",
"canUsePages": true
}
}
8 changes: 4 additions & 4 deletions studio/top-bar.cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand All @@ -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' }
]);
} */
}
}
};
}
Expand Down

0 comments on commit a635d3c

Please sign in to comment.