Update of bug #20307 (project mypaint):

                  Status:                    None => Need Info              
             Assigned to:                    None => achadwick              
                 Release:                         => git master c807c35c    

    _______________________________________________________

Follow-up Comment #1:

It's always something of a judgement call, this! Would


diff --git a/gui/canvasevent.py b/gui/canvasevent.py
index 2864500..6b1ef29 100644
--- a/gui/canvasevent.py
+++ b/gui/canvasevent.py
@@ -1219,6 +1219,8 @@ class LayerMoveMode (SwitchableModeMixin,
         if self.initial_modifiers:
             if (self.final_modifiers & self.initial_modifiers) == 0:
                 self.doc.modes.pop()
+        else:
+            self.doc.modes.pop()
 
         # All done, stop idle processing
         return False


be the sort of behaviour you're looking for? In English, the mode would exit
immediately normally, unless you keep the initial set of modifiers held down
to keep it active. In other words, the default changes to exiting once the
drag stops, not staying in it. Makes it work more like pan-view or zoom-view.

This sort of behaviour makes more sense for a button binding, but less sense
for a tool-palette button :( If it proves a pain for mostly-toolbar users, we
could feed an extra argument to the InteractionMode if it's created by
stack-control RadioAction invocation telling it to be stickier. We've plenty
of fine-tuning options, thanks for testing :)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20307>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to