diff --git a/Sheepy-Vulkan b/Sheepy-Vulkan index 1829b757..94353041 160000 --- a/Sheepy-Vulkan +++ b/Sheepy-Vulkan @@ -1 +1 @@ -Subproject commit 1829b757d41caaa3dc8a7198b07cbab6d3cb8c64 +Subproject commit 94353041143dcd90640d2a07b1b9622838051bcf diff --git a/org.sheepy.vulkan.sand/src/main/java/org/sheepy/vulkan/sand/input/VSandInputManager.java b/org.sheepy.vulkan.sand/src/main/java/org/sheepy/vulkan/sand/input/VSandInputManager.java index c440ae99..6f140cdb 100644 --- a/org.sheepy.vulkan.sand/src/main/java/org/sheepy/vulkan/sand/input/VSandInputManager.java +++ b/org.sheepy.vulkan.sand/src/main/java/org/sheepy/vulkan/sand/input/VSandInputManager.java @@ -34,7 +34,14 @@ public void onKeyEvent(KeyEvent event) { // Shift case 340: - shiftPressed = event.state == EKeyState.PRESSED; + if(event.state == EKeyState.PRESSED) + { + shiftPressed = true; + } + else if(event.state == EKeyState.RELEASED) + { + shiftPressed = false; + } break; // n case 'n' - 32: