Merge pull request #1405 from Olathuss/my-dev

Enables onMouseMove method for scripting on the GameTSCtrl class.
This commit is contained in:
Brian Roberts 2025-03-04 22:40:08 -06:00 committed by GitHub
commit 346339904e
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)