UI Windows slowly working
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user