Fixed wrong mouse offset in handleTooltip

This commit is contained in:
bdew committed 2014-01-23 17:49:36 +02:00
1 parent 12a1327e53
commit 9819600b15
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}