mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 09:48:09 +00:00
Implement UnhandledExceptionFilter and revert "set intro scene background to white"
Also use g_iScreenWidth and g_iScreenHeight in RMLManager
This commit is contained in:
@@ -926,6 +926,7 @@ void UIScene_LoadCreateJoinMenu::tick()
|
||||
if (rmlCtx && bHasFocus)
|
||||
{
|
||||
rmlCtx->ProcessMouseMove(g_KBMInput.GetMouseX(), g_KBMInput.GetMouseY(), 0);
|
||||
|
||||
if (g_KBMInput.IsMouseButtonPressed(KeyboardMouseInput::MOUSE_LEFT))
|
||||
rmlCtx->ProcessMouseButtonDown(0, 0);
|
||||
if (g_KBMInput.IsMouseButtonReleased(KeyboardMouseInput::MOUSE_LEFT))
|
||||
@@ -934,6 +935,7 @@ void UIScene_LoadCreateJoinMenu::tick()
|
||||
rmlCtx->ProcessMouseButtonDown(1, 0);
|
||||
if (g_KBMInput.IsMouseButtonReleased(KeyboardMouseInput::MOUSE_RIGHT))
|
||||
rmlCtx->ProcessMouseButtonUp(1, 0);
|
||||
|
||||
int wheelDelta = g_KBMInput.GetMouseWheel();
|
||||
if (wheelDelta != 0)
|
||||
rmlCtx->ProcessMouseWheel(wheelDelta / -120, 0);
|
||||
|
||||
Reference in New Issue
Block a user