13
0

set sysex height & position on redisplay.

This commit is contained in:
nick_m 2017-02-02 03:58:01 +11:00
parent 3e4eaf3991
commit 2eca71e6f1
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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);