saber
saber copied to clipboard
Fix: Stylus button wrong tool when coming close again
Closes #1456
This fixes the behavior described in #1456 by checking if the currentTool is still the eraser before changing back to the tmpTool stored when the stylus button was pressed.
Tested on Samsung Galaxy Tab S7 FE (Androi 14, OneUI 6.1)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 47.15%. Comparing base (
22b31ad) to head (eb45038).
Additional details and impacted files
@@ Coverage Diff @@
## main #1457 +/- ##
=======================================
Coverage 47.15% 47.15%
=======================================
Files 114 114
Lines 9002 9002
=======================================
Hits 4245 4245
Misses 4757 4757
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.