mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Forward EventBox map/unmap requests to show/hide pianoroll GLCanvas
This commit is contained in:
parent
e38a2b4b85
commit
df5f8d48c9
1 changed files with 2 additions and 0 deletions
|
|
@ -427,6 +427,8 @@ Pianoroll::build_upper_toolbar ()
|
||||||
|
|
||||||
_contents.add (_toolbox);
|
_contents.add (_toolbox);
|
||||||
_contents.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Pianoroll::enter), false);
|
_contents.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Pianoroll::enter), false);
|
||||||
|
_contents.signal_unmap().connect ([this]() {_canvas_viewport->unmap ();}, false);
|
||||||
|
_contents.signal_map().connect ([this]() {_canvas_viewport->map ();}, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue