diff options
| -rwxr-xr-x | history.txt | 1 | ||||
| -rw-r--r-- | objects.js | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/history.txt b/history.txt index c64bba8..3d25768 100755 --- a/history.txt +++ b/history.txt @@ -2244,3 +2244,4 @@ ______ * fixed #526, thanks, Bernat, for reporting it! * Objects, GUI: duplicate and clone nested sprites * GUI, Store: export and import nested sprites +* Objects: double clicking on a sprite in the stage selects it in the IDE @@ -2642,7 +2642,7 @@ SpriteMorph.prototype.exportSprite = function () { SpriteMorph.prototype.edit = function () { var ide = this.parentThatIsA(IDE_Morph); - if (ide) { + if (ide && !ide.isAppMode) { ide.selectSprite(this); } }; @@ -3484,6 +3484,10 @@ SpriteMorph.prototype.mouseClickLeft = function () { return procs; }; +SpriteMorph.prototype.mouseDoubleClick = function () { + this.edit(); +}; + // SpriteMorph timer SpriteMorph.prototype.getTimer = function () { |
