mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
parent
8a4eeb14c0
commit
81fe8976dd
@ -14,6 +14,7 @@ ToolTip {
|
|||||||
topPadding: Style.current.smallPadding
|
topPadding: Style.current.smallPadding
|
||||||
bottomPadding: Style.current.smallPadding
|
bottomPadding: Style.current.smallPadding
|
||||||
delay: 200
|
delay: 200
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
id: tooltipBg
|
id: tooltipBg
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@ -41,7 +42,7 @@ ToolTip {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
y: {
|
y: {
|
||||||
if (orientation === "bottom") {
|
if ((orientation === "bottom") || (tooltip.y > 0)) {
|
||||||
return -height / 2 + 5
|
return -height / 2 + 5
|
||||||
}
|
}
|
||||||
if (orientation === "top") {
|
if (orientation === "top") {
|
||||||
@ -64,4 +65,3 @@ ToolTip {
|
|||||||
bottomPadding: Style.current.smallPadding
|
bottomPadding: Style.current.smallPadding
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user