mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
[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.
[Reviwed by] Paul Davis
This commit is contained in:
parent
f5622bc91f
commit
2e55735887
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, true);
|
||||
set_canvas_cursor (_cursors->zoom_out);
|
||||
}
|
||||
|
||||
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, true);
|
||||
set_canvas_cursor (_cursors->zoom_in);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue