Skip to content

Cursor is misplaced when zoomed #1944

@baltitenger

Description

@baltitenger

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

As the title says, the cursor isn't positioned correctly if a zoom other that 100% is set. The difference gets bigger as it moves right.

Expected Behavior

Correct cursor placement

Steps To Reproduce

Works on the demo site too, just select e.g. 125% and click on the rightmost note on any line.

Link to jsFiddle, CodePen, Project

https://alphatab.net

Found in Version

1.4 (alpha)

Platform

Web

Environment

- **OS**: Linux
- **Browser**: Chromium 134.0.6998.35 Arch Linux

Anything else?

Seems to be fixed on master though.

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.area-renderingEverything related to the renderingplatform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions