fix: subtract renderBeatOffset from mouse beat for correct positioning

- handleGridMouseDown/move: beat = x/pixelsPerBeat - renderBeatOffset
  so hit-testing and note creation use item-relative coordinates
- CC mouse handlers: same offset subtraction
- Ruler click: clickTime subtracts renderBeatOffset so st.currentTime
  remains item-relative
This commit is contained in:
2026-07-27 19:25:29 +07:00
parent 3a775fdda7
commit 3ed62b3343
2 changed files with 8 additions and 8 deletions
File diff suppressed because one or more lines are too long