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: on ui event reset selection type #555

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

Xazin
Copy link
Collaborator

@Xazin Xazin commented Oct 27, 2023

By resetting the SelectionType on SelectionUpdateReason.uiEvent, when a Block is selected with the type SelectionType.block, you can cancel it by making a new selection (pressing).

@Xazin Xazin requested a review from LucasXu0 October 27, 2023 10:08
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a573847) 80.35% compared to head (bf5a7c5) 80.35%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #555   +/-   ##
=======================================
  Coverage   80.35%   80.35%           
=======================================
  Files         285      285           
  Lines       12173    12174    +1     
=======================================
+ Hits         9782     9783    +1     
  Misses       2391     2391           
Files Coverage Δ
...t/service/selection/desktop_selection_service.dart 78.35% <ø> (ø)
lib/src/editor_state.dart 84.78% <100.00%> (+0.08%) ⬆️

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

@LucasXu0 LucasXu0 merged commit 7336274 into AppFlowy-IO:main Oct 30, 2023
11 checks passed
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Oct 30, 2023
* main:
  fix: on ui event reset selection type (AppFlowy-IO#555)
  feat: power checkbox shortcut (AppFlowy-IO#553)
  feat: toggledStyle notifier (AppFlowy-IO#562)
  fix: do not select all if selection is null (AppFlowy-IO#563)
  fix: applied corner radius to block selection (AppFlowy-IO#557)
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.

2 participants