File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -686,6 +686,9 @@ class TranslationsSettingsPrefDescriptionsEn {
686686 /// en: 'Automatically switches back to the pen after using the eraser'
687687 String get disableEraserAfterUse => 'Automatically switches back to the pen after using the eraser' ;
688688
689+ /// en: 'Eraser on stylus button press and release'
690+ String get eraserOnStylusButtonPressAndRelease => 'Eraser on stylus button press and release' ;
691+
689692 /// en: 'Larger images will be compressed'
690693 String get maxImageSize => 'Larger images will be compressed' ;
691694
Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ class EditorState extends State<Editor> {
744744 // whether the stylus button is or was pressed
745745 stylusButtonPressed = stylusButtonPressed || buttonPressed;
746746
747- if (! Prefs .eraserOnStylusButtonPressAndRelease.value) {
747+ if (! stows .eraserOnStylusButtonPressAndRelease.value) {
748748 // standard behavior of stylus button, while holding is erasing
749749 if (isHovering) {
750750 if (buttonPressed) {
You can’t perform that action at this time.
0 commit comments