From 94bfdd74ff2dfeae46aab7e44a5cbbed545cf6c8 Mon Sep 17 00:00:00 2001 From: Mathias Boulay Date: Thu, 3 Aug 2023 13:18:57 +0200 Subject: [PATCH] Chore[controls]: bump up control version --- .../kdt/pojavlaunch/customcontrols/CustomControls.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java index a27c6c85a..11cf5983a 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java @@ -53,14 +53,14 @@ public class CustomControls { this.mControlDataList.add(shiftData); this.mControlDataList.add(new ControlData(ctx, R.string.control_jump, new int[]{LwjglGlfwKeycode.GLFW_KEY_SPACE}, "${right} - ${margin} * 2 - ${width}", "${bottom} - ${margin} * 2 - ${height}", true)); - //The default controls are conform to the V2 - version = 5; + //The default controls are conform to the V3 + version = 6; } public void save(String path) throws IOException { - //Current version is the V2.6 so the version as to be marked as 5 ! - version = 5; + //Current version is the V3.0 so the version as to be marked as 6 ! + version = 6; Tools.write(path, Tools.GLOBAL_GSON.toJson(this)); }