fix placement of ghost note while in draw mode

This commit is contained in:
Paul Davis
2024-06-11 15:15:28 -06:00
parent 30a7f44c12
commit 4724683b5f

View File

@@ -3982,7 +3982,8 @@ void
MidiView::update_ghost_note (double x, double y, uint32_t state)
{
assert (_ghost_note);
x = std::max(0.0, x);
x = _editing_context.canvas_to_timeline (x);
x = std::max (0.0, x);
const double global_x (x);