This helps on Windows, want to verify it doesn't break anything on Linux.
Details
Details
- Reviewers
rempt - Group Reviewers
Krita - Maniphest Tasks
- T1822: Cursor is out of alignment for high DPI screens on Windows
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Branch
- cursorDPR (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Hm, what I don't get is removing the hotspot calculation if no hotspot is set -- why isn't that needed anymore?
Comment Actions
The only case that is removed is when hotspotX is set to -1, which is supposed to indicate the center is bitmap.width / 2. But Qt does that already if you pass hotspotX = -1 through straight into the QCursor constructor, so there wasn't really a point to doing that as far as I could tell.