mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Move panic button to MIDI toolbar (reduce required horizontal space).
git-svn-id: svn://localhost/ardour2/branches/3.0@3864 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
dca03d05cd
commit
7b5dbd5f2b
6 changed files with 33 additions and 27 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <pbd/error.h>
|
||||
#include <gtkmm2ext/utils.h>
|
||||
#include <gtkmm2ext/tearoff.h>
|
||||
#include <pbd/memento_command.h>
|
||||
#include <pbd/basename.h>
|
||||
|
||||
|
|
@ -348,11 +349,14 @@ Editor::set_mouse_mode (MouseMode m, bool force)
|
|||
break;
|
||||
}
|
||||
|
||||
if (mouse_mode == MouseNote)
|
||||
midi_toolbar_frame.show();
|
||||
else
|
||||
midi_toolbar_frame.hide();
|
||||
|
||||
if (midi_tools_tearoff) {
|
||||
if (mouse_mode == MouseNote) {
|
||||
midi_tools_tearoff->show();
|
||||
} else {
|
||||
midi_tools_tearoff->hide();
|
||||
}
|
||||
}
|
||||
|
||||
ignore_mouse_mode_toggle = false;
|
||||
|
||||
set_canvas_cursor ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue