UI Windows slowly working

This commit is contained in:
2024-12-30 00:10:50 +01:00
parent 4ac24fa03c
commit 6ed67e8fcb
6 changed files with 424 additions and 123 deletions

View File

@@ -218,11 +218,11 @@ update_input :: () {
update_gamepad_input();
#if !EDITOR {
//#if EDITOR {
engine.input.viewport_mouse_position.x = engine.input.mouse.x;
engine.input.viewport_mouse_position.y = engine.input.mouse.y;
engine.input.normalized_viewport_mouse_position = engine.input.viewport_mouse_position / Vector2.{xx engine.renderer.render_target_width, xx engine.renderer.render_target_height};
}
//}
}
remove_all_temp_key_flags :: (using input_state: *Input_State) {