fix: playhead at bar 0 when opening MIDI item in session mode

- Removed st.currentTime >= 0 check from playhead rendering
- handleEditMidiInTab: currentTime = -beatOff * beatSec so phBeat=0
- handleSwitchMidiItem: same logic for dropdown switches
- Playhead draws at x=0 (bar 0) when item opens, moves right during
  playback from the initial negative position
This commit is contained in:
2026-07-27 19:37:59 +07:00
parent ab4b91a158
commit 6ff2f72c58
2 changed files with 10 additions and 7 deletions
File diff suppressed because one or more lines are too long