Fixed some editor bugs

This commit is contained in:
2024-11-09 01:36:19 +01:00
parent 55bcb5032d
commit 2d2d63ae5a
6 changed files with 28 additions and 32 deletions

View File

@@ -926,6 +926,8 @@ is_mouse_inside :: (x: float, y: float, rect: Rect) -> bool {
}
ui_update_input :: () {
if engine.mode == .PLAYING return; // @Robustness
mouse_x := engine.input.mouse.x;
mouse_y := engine.input.mouse.y;