Add multi-select to keyframe repository (see #318)

This commit is contained in:
Jonas Herzig
2020-08-29 10:47:40 +02:00
parent fbf53d3842
commit e294ebe8c9
2 changed files with 38 additions and 13 deletions

View File

@@ -887,6 +887,10 @@ public class MCVer {
//$$ public static final int KEY_Z = org.lwjgl.input.Keyboard.KEY_Z;
//#endif
public static boolean hasControlDown() {
return Screen.hasControlDown();
}
public static boolean isKeyDown(int keyCode) {
//#if MC>=11500
return InputUtil.isKeyPressed(getMinecraft().getWindow().getHandle(), keyCode);