lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Song Editor draws over scroll bar

Open michaelgregorius opened this issue 1 year ago • 2 comments

Bug Summary

When the play head reaches the vertical scroll bar it will paint over it:

PlayHeadOverScrollBar

Expected Behaviour

The scroll bar is not painted over.

Steps To Reproduce

  1. Load a song that's long enough.
  2. Set "Auto Scrolling" to "Off".
  3. Play song.

michaelgregorius avatar Jul 26 '24 16:07 michaelgregorius

I'm able to fix the bug by adding a check for if the scrollbar is visible and the line is past it, and if so then not drawing it. Although, a better solution would be to somehow get the scrollbar to be drawn on top of the line.

https://github.com/user-attachments/assets/12520ca4-1f17-4f1f-85ad-3155d59a179b

Also, it seems that the play head triangle acts weirdly at the edge. Perhaps that should also be addressed.

regulus79 avatar Jul 26 '24 22:07 regulus79

@regulus79 PR?

Rossmaxx avatar Oct 03 '24 15:10 Rossmaxx