Fix cursor shape over text fields/areas
Fix only applies if kinetic scrolling is enabled, need WheelHandler (Qt 5.14+) otherwise
This commit is contained in:
parent
b81dea9bc2
commit
cfee1b1e4b
|
@ -95,6 +95,11 @@ and this project adheres to
|
|||
|
||||
- Fix `KeyError` when forgetting a room
|
||||
|
||||
- Fix cursor shape not changing to carret when hovering text fields and areas.
|
||||
This fix can only apply when the `enableKineticScrolling` setting is `true`,
|
||||
until the project switches to Qt 5.15.
|
||||
|
||||
|
||||
## 0.5.0
|
||||
|
||||
### Added
|
||||
|
|
4
TODO.md
4
TODO.md
|
@ -1,8 +1,5 @@
|
|||
# TODO
|
||||
|
||||
- fix cursor over field
|
||||
- keyerror when forgetting room while loading members
|
||||
|
||||
## Refactoring
|
||||
|
||||
- Rewrite account settings using `HTabbedContainer`
|
||||
|
@ -255,6 +252,7 @@
|
|||
|
||||
- Added `WheelHandler`, an Event Handler for the mouse wheel, and optionally
|
||||
for emulated mouse wheel events coming from a trackpad.
|
||||
- Rewrite `HKineticScrollingDisabler` with it
|
||||
|
||||
- Added `BoundaryRule` in Qt.labs.animation: a `PropertyValueInterceptor` that
|
||||
restricts the range of values a numeric property can have, applies
|
||||
|
|
|
@ -29,6 +29,7 @@ HPage {
|
|||
|
||||
HKineticScrollingDisabler {
|
||||
flickable: flickable
|
||||
anchors.fill: flickable
|
||||
width: enabled ? flickable.width : 0
|
||||
height: enabled ? flickable.height : 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,6 +119,7 @@ GridView {
|
|||
|
||||
HKineticScrollingDisabler {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
width: enabled ? parent.width : 0
|
||||
height: enabled ? parent.height : 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import QtQuick 2.12
|
||||
|
||||
// MouseArea component to disable kinetic scrolling
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
enabled: ! window.settings.enableKineticScrolling
|
||||
|
|
|
@ -120,6 +120,7 @@ ListView {
|
|||
|
||||
HKineticScrollingDisabler {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
width: enabled ? parent.width : 0
|
||||
height: enabled ? parent.height : 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user