mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
set sysex height & position on redisplay.
This commit is contained in:
parent
6fea93814d
commit
aa4bd44d4a
2 changed files with 4 additions and 0 deletions
|
|
@ -1418,6 +1418,9 @@ MidiRegionView::display_sysexes()
|
|||
sysex = boost::shared_ptr<SysEx>(
|
||||
new SysEx (*this, _note_group, text, height, x, 1.0, sysex_ptr));
|
||||
_sys_exes.insert (make_pair (sysex_ptr, sysex));
|
||||
} else {
|
||||
sysex->flag()->set_height (height);
|
||||
sysex->item().set_position (ArdourCanvas::Duple (x, 1.0));
|
||||
}
|
||||
|
||||
// Show unless message is beyond the region bounds
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ public:
|
|||
void show ();
|
||||
|
||||
ArdourCanvas::Item& item() const { return *_flag; }
|
||||
ArdourCanvas::Flag* flag() const { return _flag; }
|
||||
|
||||
private:
|
||||
bool event_handler (GdkEvent* ev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue