mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Make a new action "escape", bound to the Escape key, and make it
abort a drag (if one is in progress) or clear the selection. Fix breaking of drags in a few cases; some still to do. git-svn-id: svn://localhost/ardour2/branches/3.0@6467 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2e30bdba9f
commit
1a1edc9ca1
9 changed files with 264 additions and 32 deletions
|
|
@ -2290,10 +2290,8 @@ Editor::set_state (const XMLNode& node, int /*version*/)
|
|||
|
||||
if ((prop = node.property ("mouse-mode"))) {
|
||||
MouseMode m = str2mousemode(prop->value());
|
||||
mouse_mode = MouseMode ((int) m + 1); /* lie, force mode switch */
|
||||
set_mouse_mode (m, true);
|
||||
} else {
|
||||
mouse_mode = MouseGain; /* lie, to force the mode switch */
|
||||
set_mouse_mode (MouseObject, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue