mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
improve button up/down tracking during velocity draw drag
This commit is contained in:
parent
6d4bbae48c
commit
6ea7e8c8f4
1 changed files with 3 additions and 1 deletions
|
|
@ -83,12 +83,14 @@ VelocityGhostRegion::base_event (GdkEvent* ev)
|
|||
if (ev->button.button == 1) {
|
||||
desensitize_lollis ();
|
||||
dragging = true;
|
||||
base_rect->grab();
|
||||
}
|
||||
break;
|
||||
case GDK_BUTTON_RELEASE:
|
||||
if (ev->button.button == 1) {
|
||||
sensitize_lollis ();
|
||||
base_rect->ungrab();
|
||||
dragging = false;
|
||||
sensitize_lollis ();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue