Mercurial > hg > svgui
diff layer/NoteLayer.cpp @ 1515:0fa49a6ce64f time-frequency-boxes
Item-editing updates needed for time-frequency box layer
author | Chris Cannam |
---|---|
date | Fri, 20 Sep 2019 14:19:17 +0100 |
parents | e540aa5d89cd |
children | 37df1530519d |
line wrap: on
line diff
--- a/layer/NoteLayer.cpp Fri Sep 20 11:25:47 2019 +0100 +++ b/layer/NoteLayer.cpp Fri Sep 20 14:19:17 2019 +0100 @@ -1062,13 +1062,12 @@ Event note(0); if (!getPointToDrag(v, e->x(), e->y(), note)) return false; -// Event note = *points.begin(); - ItemEditDialog *dialog = new ItemEditDialog (model->getSampleRate(), ItemEditDialog::ShowTime | ItemEditDialog::ShowDuration | ItemEditDialog::ShowValue | + ItemEditDialog::ShowLevel | ItemEditDialog::ShowText, getScaleUnits());