It's likely that this isn't the right fix, because "hiResGlobalPos" suggests it's supposed to be global, but in my tests it's in fact relative to the scratchpad widget.
Details
Details
- Reviewers
tpaulssen rempt - Maniphest Tasks
- T683: Scratchpad doesn't work.
- Start Krita with an empty document
- open the brush editor with a non-eraser brush
- draw on the scratchpad with a stylus on a tablet
- drawing should happen when patch is applied, but not when patch isn't applied
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Works for me!
I think just using tabletEvent->posF() produces the same effect though, so maybe we could go with that instead to avoid touching anything spooky.
Comment Actions
tpaulssen - I'll close out this revision for you since you pushed rKRITA132b010fa43f. You can make it happen automatically if you use arcanist, either by arc land or by pushing the commit message generated by arc diff.