mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix incorrect mouse cursors after zoom mode clicks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8895 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e9e0251af6
commit
2ffc0cbe25
1 changed files with 2 additions and 2 deletions
|
|
@ -884,7 +884,7 @@ Editor::track_canvas_key_press (GdkEventKey* event)
|
|||
{
|
||||
/* 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;
|
||||
|
|
@ -894,7 +894,7 @@ bool
|
|||
Editor::track_canvas_key_release (GdkEventKey* event)
|
||||
{
|
||||
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