mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
polygon and marker line for mono panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8476 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
669247a4c4
commit
db79f711f8
2 changed files with 24 additions and 23 deletions
|
|
@ -1922,17 +1922,7 @@ MixerStrip::on_key_release_event (GdkEventKey* ev)
|
|||
bool
|
||||
MixerStrip::on_enter_notify_event (GdkEventCrossing*)
|
||||
{
|
||||
Keyboard::magic_widget_grab_focus ();
|
||||
|
||||
if (!panners._bar_spinner_active) {
|
||||
/* This next grab_focus() causes a focus-out event to be sent to, amongst
|
||||
* other things, panner BarControllers. When they receive it, they abort
|
||||
* the use of any SpinButton that might be in use to change pan settings.
|
||||
* Hence we have this horrific hack which stops the grab_focus () call
|
||||
* happening if a bar spinner is active.
|
||||
*/
|
||||
grab_focus ();
|
||||
}
|
||||
Keyboard::magic_widget_grab_focus ();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue