realXtend/naali — Issue #278: MouseEvent::IsItemUnderMouse does not work in QtScript.
Author: juj
Created: 2011-11-10 17:01:00+00:00
State: open
Labels: QtScript

Calling MouseEvent::IsItemUnderMouse() in a mouse event script handler always returns false in QtScript, even if there is a dialog item under the mouse coordinates.

As a workaround, calling input.ItemAtCoords(input.MousePos().x(), input.MousePos().y()); works.