Fixed the "M" key being typed in a TextBox adding/removing marker keyframes
This commit is contained in:
@@ -143,8 +143,9 @@ public class KeyInputHandler {
|
||||
|
||||
public void handleCustomKeybindings(KeyBinding kb, boolean found, int keyCode) {
|
||||
//Custom registered handlers
|
||||
|
||||
if(kb.getKeyDescription().equals(KeybindRegistry.KEY_ADD_MARKER) && (kb.isPressed() || kb.getKeyCode() == keyCode)) {
|
||||
if(ReplayHandler.isInReplay()) {
|
||||
if(ReplayHandler.isInReplay() && (mc.currentScreen == null || mc.currentScreen instanceof GuiMouseInput)) {
|
||||
ReplayHandler.toggleMarker();
|
||||
} else if(ConnectionEventHandler.isRecording()) {
|
||||
ConnectionEventHandler.addMarker();
|
||||
|
||||
Reference in New Issue
Block a user