From d233a97bf428615d30ba4fe6f6d22452ce4b659a Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Sun, 13 Nov 2016 22:06:45 +0100 Subject: [PATCH 1/2] Changed Things --- src/Launcher/Main.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index e9d12a6..93e2ae5 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -13,7 +13,6 @@ package Launcher; import Launcher.net.Updater; import com.tofvesson.reflection.SafeReflection; import javafx.application.Application; -import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.control.*; @@ -24,8 +23,6 @@ import javafx.scene.shape.Rectangle; import javafx.stage.Stage; import javafx.stage.StageStyle; -import java.net.URL; - import com.tofvesson.async.*; public class Main extends Application { @@ -36,7 +33,6 @@ public class Main extends Application { public static final int semVerMinor = 2; // Minor version public static final int semVerPatch = 0; // Patch version - private double xOffset = 0, yOffset = 0; // Offsets for dragging private Button exit, min, Home_btn, Modpack_btn, Settings_btn, Instance_btn; // Define buttons private ImageView icon; @@ -130,8 +126,7 @@ public class Main extends Application { if(!settings_activeTab.getId().equals(n.lookup("#Settings-Mine-btn").getId())){ // Use id to identify layouts updateTabSelection(n.lookup("#Settings-Mine-btn"), TabType.SETTINGS); Node minecraftLayout = Tabs.switchTab("settings_minecraft", (Pane) n.lookup("#Settings-Pane")); - - + } }); From 46d26048455fb67165e3b993da3fb41b8be84cab Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Sun, 13 Nov 2016 22:09:52 +0100 Subject: [PATCH 2/2] Changed Things --- src/assets/layout/settings_generic.fxml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/assets/layout/settings_generic.fxml b/src/assets/layout/settings_generic.fxml index 3494654..b39a4f7 100644 --- a/src/assets/layout/settings_generic.fxml +++ b/src/assets/layout/settings_generic.fxml @@ -1,10 +1,10 @@ + - +