diff --git a/CHANGELOG.md b/CHANGELOG.md index e788bef8..72e0794f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.5.1] +* Bug fix for Desktop `Shift` + `Click` support. + ## [2.5.0] * Update checkbox list. diff --git a/lib/src/widgets/editor.dart b/lib/src/widgets/editor.dart index 99b3500d..a6fb480d 100644 --- a/lib/src/widgets/editor.dart +++ b/lib/src/widgets/editor.dart @@ -842,7 +842,7 @@ class RenderEditor extends RenderEditableContainerBox bool get _shiftPressed => RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftLeft) || - RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftLeft); + RawKeyboard.instance.keysPressed.contains(LogicalKeyboardKey.shiftRight); void setStartHandleLayerLink(LayerLink value) { if (_startHandleLayerLink == value) { diff --git a/pubspec.yaml b/pubspec.yaml index cf78dc4b..b3200073 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) -version: 2.5.0 +version: 2.5.1 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill