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:
|
||||
- hflickable: support kinetic scrolling disabler
|
||||
|
||||
- Avatar tooltip can get displayed in front of presence menu
|
||||
- Use loading cursorShape
|
||||
|
||||
- global presence control
|
||||
|
||||
- fix members not synced bug
|
||||
|
|
|
@ -82,10 +82,12 @@ Rectangle {
|
|||
background.border.width * 2,
|
||||
)
|
||||
|
||||
visible: ! avatarImage.broken &&
|
||||
avatarImage.width < dimension * 0.75 &&
|
||||
(toolTipSourceOverride || toolTipMxc) &&
|
||||
hoverHandler.hovered
|
||||
visible:
|
||||
! avatarImage.broken &&
|
||||
! window.anyMenu &&
|
||||
avatarImage.width < dimension * 0.75 &&
|
||||
(toolTipSourceOverride || toolTipMxc) &&
|
||||
hoverHandler.hovered
|
||||
delay: 1000
|
||||
backgroundColor: theme.controls.avatar.hoveredImage.background
|
||||
|
||||
|
|
|
@ -28,9 +28,9 @@ ApplicationWindow {
|
|||
|
||||
readonly property var visibleMenus: ({})
|
||||
readonly property var visiblePopups: ({})
|
||||
readonly property bool anyPopupOrMenu:
|
||||
Object.keys(window.visibleMenus).length > 0 ||
|
||||
Object.keys(window.visiblePopups).length > 0
|
||||
readonly property bool anyMenu: Object.keys(visibleMenus).length > 0
|
||||
readonly property bool anyPopup: Object.keys(visiblePopups).length > 0
|
||||
readonly property bool anyPopupOrMenu: anyMenu || anyPopup
|
||||
|
||||
|
||||
function saveState(obj) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user