Merge pull request #1 from Olathuss/gamectrl-mousemove

Enable onMouseMove script method for GameTSCtrl
This commit is contained in:
Olathuss 2025-03-04 21:32:25 -07:00 committed by GitHub
commit 1f1d45f0d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -158,6 +158,8 @@ void GameTSCtrl::onMouseMove(const GuiEvent &evt)
lineTestEnd = pos + vec * 1000;
}
}
if (isMethod("onMouseMove"))
makeScriptCall("onMouseMove", evt);
}
void GameTSCtrl::onRender(Point2I offset, const RectI &updateRect)