mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
(Mixbus profile only) tentatively remove the Zoom and Cut tools, to save space in the toolbar and reduce some highly redundant functions
This commit is contained in:
parent
492c933a69
commit
62cab525f0
3 changed files with 31 additions and 14 deletions
|
|
@ -232,6 +232,11 @@ Editor::set_mouse_mode (MouseMode m, bool force)
|
|||
return;
|
||||
}
|
||||
|
||||
if (ARDOUR::Profile->get_mixbus()) {
|
||||
if ( m == MouseZoom) m = MouseObject;
|
||||
if ( m == MouseCut) m = MouseObject;
|
||||
}
|
||||
|
||||
Glib::RefPtr<Action> act;
|
||||
|
||||
switch (m) {
|
||||
|
|
@ -286,6 +291,11 @@ Editor::mouse_mode_toggled (MouseMode m)
|
|||
Glib::RefPtr<Action> act;
|
||||
Glib::RefPtr<ToggleAction> tact;
|
||||
|
||||
if (ARDOUR::Profile->get_mixbus()) {
|
||||
if ( m == MouseZoom) m = MouseObject;
|
||||
if ( m == MouseCut) m = MouseObject;
|
||||
}
|
||||
|
||||
switch (m) {
|
||||
case MouseRange:
|
||||
act = ActionManager::get_action (X_("MouseMode"), X_("set-mouse-mode-range"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue