mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: prevent Action buttons hijack after delete
This gets delete dive working properly. Kirigami passive notification ends up hijacking area where the "Add dive" or "Delete" or "Discard" buttons are shown. So after deleting a dive the "Undo" button from the notification keeps handling the touch events even when not visible. Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
This commit is contained in:
parent
d387ec5791
commit
d2d2e3af3d
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ sed -i -e "s/visible: root.action/visible: root.action \&\& \!Qt.inputMethod.vis
|
|||
sed -i -e "s/visible: root.leftAction/visible: root.leftAction \&\& \!Qt.inputMethod.visible/g" src/controls/private/ActionButton.qml
|
||||
sed -i -e "s/visible: root.rightAction/visible: root.rightAction \&\& \!Qt.inputMethod.visible/g" src/controls/private/ActionButton.qml
|
||||
|
||||
# kirigami hack: passive notification hijacks area even after disabled.
|
||||
# https://bugs.kde.org/show_bug.cgi?id=394204
|
||||
sed -i -e "s/width: backgroundRect/enabled: root.enabled; width: backgroundRect/g" src/controls/templates/private/PassiveNotification.qml
|
||||
|
||||
# another hack. Do not include the Kirigami resources (on static build). It causes
|
||||
# double defined symbols in our setting. I would like a nicer fix for this
|
||||
# issue, but failed to find one. For example, not adding the resource in
|
||||
|
|
Loading…
Add table
Reference in a new issue