Don't show avatar tooltips when context menu open
This commit is contained in:
parent
e917e29913
commit
0f1d0f336e
3
TODO.md
3
TODO.md
|
@ -3,9 +3,6 @@
|
||||||
- Image viewer:
|
- Image viewer:
|
||||||
- hflickable: support kinetic scrolling disabler
|
- hflickable: support kinetic scrolling disabler
|
||||||
|
|
||||||
- Avatar tooltip can get displayed in front of presence menu
|
|
||||||
- Use loading cursorShape
|
|
||||||
|
|
||||||
- global presence control
|
- global presence control
|
||||||
|
|
||||||
- fix members not synced bug
|
- fix members not synced bug
|
||||||
|
|
|
@ -82,7 +82,9 @@ Rectangle {
|
||||||
background.border.width * 2,
|
background.border.width * 2,
|
||||||
)
|
)
|
||||||
|
|
||||||
visible: ! avatarImage.broken &&
|
visible:
|
||||||
|
! avatarImage.broken &&
|
||||||
|
! window.anyMenu &&
|
||||||
avatarImage.width < dimension * 0.75 &&
|
avatarImage.width < dimension * 0.75 &&
|
||||||
(toolTipSourceOverride || toolTipMxc) &&
|
(toolTipSourceOverride || toolTipMxc) &&
|
||||||
hoverHandler.hovered
|
hoverHandler.hovered
|
||||||
|
|
|
@ -28,9 +28,9 @@ ApplicationWindow {
|
||||||
|
|
||||||
readonly property var visibleMenus: ({})
|
readonly property var visibleMenus: ({})
|
||||||
readonly property var visiblePopups: ({})
|
readonly property var visiblePopups: ({})
|
||||||
readonly property bool anyPopupOrMenu:
|
readonly property bool anyMenu: Object.keys(visibleMenus).length > 0
|
||||||
Object.keys(window.visibleMenus).length > 0 ||
|
readonly property bool anyPopup: Object.keys(visiblePopups).length > 0
|
||||||
Object.keys(window.visiblePopups).length > 0
|
readonly property bool anyPopupOrMenu: anyMenu || anyPopup
|
||||||
|
|
||||||
|
|
||||||
function saveState(obj) {
|
function saveState(obj) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user