Skip to content

Commit

Permalink
Fix: Choosing one bug over another based on probability.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuperino committed Sep 12, 2022
1 parent 02c30d1 commit fe17281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prompter/Prompter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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)=> {
Expand Down

0 comments on commit fe17281

Please sign in to comment.