set sysex height & position on redisplay.
This commit is contained in:
parent
3e4eaf3991
commit
2eca71e6f1
@ -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…
Reference in New Issue
Block a user