mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
position and rotation adjustment value snap mode in scenery editor, position adjustment for memory cells in scenery editor
This commit is contained in:
2
EU07.cpp
2
EU07.cpp
@@ -153,9 +153,11 @@ void key_callback( GLFWwindow *window, int key, int scancode, int action, int mo
|
||||
|
||||
Global.shiftState = ( mods & GLFW_MOD_SHIFT ) ? true : false;
|
||||
Global.ctrlState = ( mods & GLFW_MOD_CONTROL ) ? true : false;
|
||||
Global.altState = ( mods & GLFW_MOD_ALT ) ? true : false;
|
||||
|
||||
// give the ui first shot at the input processing...
|
||||
if( true == UILayer.on_key( key, action ) ) { return; }
|
||||
if( true == scene::Editor.on_key( key, action ) ) { return; }
|
||||
// ...if the input is left untouched, pass it on
|
||||
input::Keyboard.key( key, action );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user