summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Dinsmore <queryselector@gmail.com>2013-04-09 15:55:02 -0400
committerNathan Dinsmore <queryselector@gmail.com>2013-04-09 15:55:02 -0400
commit6f053fe214ce1f32530b708fd48f778d71244542 (patch)
treeba70db203cd94815f3e9747a109a57b7ddc60cc4
parent276ff05ed5c205c04d69d19aeba1c221ddddbada (diff)
downloadsnap-6f053fe214ce1f32530b708fd48f778d71244542.tar.gz
snap-6f053fe214ce1f32530b708fd48f778d71244542.zip
Fixed #10
Clicking and dragging on a button no longer picks up the morph to which it is attached
-rw-r--r--morphic.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphic.js b/morphic.js
index e28ca66..ad71c75 100644
--- a/morphic.js
+++ b/morphic.js
@@ -8070,6 +8070,10 @@ TriggerMorph.prototype.mouseClickLeft = function () {
this.trigger();
};
+TriggerMorph.prototype.rootForGrab = function () {
+ return null;
+};
+
// TriggerMorph bubble help:
TriggerMorph.prototype.bubbleHelp = function (contents) {