saber icon indicating copy to clipboard operation
saber copied to clipboard

Fix: Stylus button wrong tool when coming close again

Open ComputerElite opened this issue 1 year ago • 1 comments

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)

ComputerElite avatar Mar 27 '25 09:03 ComputerElite

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.

codecov[bot] avatar Mar 27 '25 10:03 codecov[bot]