Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Stylus button wrong tool when coming close again #1457

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ComputerElite
Copy link

@ComputerElite ComputerElite commented Mar 27, 2025

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)

Copy link

codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stylus Button Issue when changing tool
1 participant