mirror of
https://github.com/GTNewHorizons/bdlib.git
synced 2026-11-13 16:54:11 +00:00
Fixed wrong mouse offset in handleTooltip
This commit is contained in:
1 parent
12a1327e53
commit
9819600b15
1 file changed
+1
-1
@@ -56,7 +56,7 @@ trait WidgetContainer {
|
||||
}
|
||||
|
||||
def handleTooltip(op: Point, tip: mutable.MutableList[String]) {
|
||||
val p = op - rect.origin
|
||||
val p = op
|
||||
for (w <- widgets if w.rect.contains(p))
|
||||
w.handleTooltip(p - w.rect.origin, tip)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user