mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Revert "[Summary] Fixed issue with incorrectly "remembered" zoom_in cursor. The issue looks pretty old and appeared only if we use mouse wheel on zoom slider if zoom tool is enabled."
This reverts commit 2e55735887.
This commit is contained in:
parent
2e55735887
commit
f6591a130f
1 changed files with 2 additions and 2 deletions
|
|
@ -1032,7 +1032,7 @@ Editor::track_canvas_key_press (GdkEventKey*)
|
|||
{
|
||||
/* XXX: event does not report the modifier key pressed down, AFAICS, so use the Keyboard object instead */
|
||||
if (mouse_mode == Editing::MouseZoom && Keyboard::the_keyboard().key_is_down (GDK_Control_L)) {
|
||||
set_canvas_cursor (_cursors->zoom_out);
|
||||
set_canvas_cursor (_cursors->zoom_out, true);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
@ -1042,7 +1042,7 @@ bool
|
|||
Editor::track_canvas_key_release (GdkEventKey*)
|
||||
{
|
||||
if (mouse_mode == Editing::MouseZoom && !Keyboard::the_keyboard().key_is_down (GDK_Control_L)) {
|
||||
set_canvas_cursor (_cursors->zoom_in);
|
||||
set_canvas_cursor (_cursors->zoom_in, true);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue