Changed Things

This commit is contained in:
Michael-Jouanneau 2016-11-13 22:06:45 +01:00
parent ba7da97c9b
commit d233a97bf4

View File

@ -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"));
}
});