Skip to content

Commit 5a98b85

Browse files
committed
[2.5.1] Bug fix for Desktop Shift + Click support
1 parent 30e6e0c commit 5a98b85

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [2.5.1]
2+
* Bug fix for Desktop `Shift` + `Click` support.
3+
14
## [2.5.0]
25
* Update checkbox list.
36

lib/src/widgets/editor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ class RenderEditor extends RenderEditableContainerBox
842842

843843
bool get _shiftPressed =>
844844
RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftLeft) ||
845-
RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftLeft);
845+
RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftRight);
846846

847847
void setStartHandleLayerLink(LayerLink value) {
848848
if (_startHandleLayerLink == value) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_quill
22
description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
3-
version: 2.5.0
3+
version: 2.5.1
44
#author: bulletjournal
55
homepage: https://bulletjournal.us/home/index.html
66
repository: https://github.com/singerdmx/flutter-quill

0 commit comments

Comments
 (0)