mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Working on tooltip placement
This commit is contained in:
parent
7bbaf026f3
commit
100f7acddc
1 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,9 @@ import "styles"
|
|||
Hifi.Tooltip {
|
||||
id: root
|
||||
HifiConstants { id: hifi }
|
||||
x: lastMousePosition.x
|
||||
y: lastMousePosition.y
|
||||
// FIXME adjust position based on the edges of the screen
|
||||
x: lastMousePosition.x + 20
|
||||
y: lastMousePosition.y + 5
|
||||
implicitWidth: border.implicitWidth
|
||||
implicitHeight: border.implicitHeight
|
||||
|
||||
|
|
Loading…
Reference in a new issue