From fe172818b29d801c66cde3b8076feaa5be0e8ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20O=2E=20Cordero=20P=C3=A9rez?= Date: Sun, 11 Sep 2022 20:00:32 -0400 Subject: [PATCH] Fix: Choosing one bug over another based on probability. --- src/prompter/Prompter.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prompter/Prompter.qml b/src/prompter/Prompter.qml index 741c7eda..27d2d5a9 100644 --- a/src/prompter/Prompter.qml +++ b/src/prompter/Prompter.qml @@ -460,8 +460,8 @@ Flickable { MouseArea { // Enabling on Linux, Haiku OS, and macOS prevents Qt bug where wheel doesn't respond after returning to edit mode. // Enabling on Windows maintains behavior from 1.0, which gives consistent precission when using a mouse wheel than the behavior from Qt. - //// Disabling on macOS prevents bug where scrolling past prompter edges in edit mode resets prompter to a previous position - enabled: Qt.platform.os!=="android" && Qt.platform.os!=="ios" + // Disabling on macOS prevents bug where scrolling past prompter edges in edit mode resets prompter to a previous position. Choosing this approach under the presumption most Mac users will use Apple's inputs. + enabled: Qt.platform.os!=="android" && Qt.platform.os!=="ios" && Qt.platform.os!=="osx" anchors.fill: parent scrollGestureEnabled: true onWheel: (wheel)=> {