From c2c085764b9e2056d559ab7d59761e4e7eb7e6d9 Mon Sep 17 00:00:00 2001 From: Andrew Molchanov Date: Mon, 15 Jun 2020 13:10:12 +0300 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=A4=D0=B8=D0=BA=D1=81=20=D1=84=D0=BB?= =?UTF-8?q?=D0=B0=D0=B3=D0=B0=20(#395)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [ANY] Фикс флага Он был добавлен в 1.13 * [ANY] Откакт мелкой правки по дизайну --- Launcher/runtime/dialog/overlay/update/update.css | 8 ++++++++ .../java/pro/gravit/launcher/client/ClientLauncher.java | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Launcher/runtime/dialog/overlay/update/update.css b/Launcher/runtime/dialog/overlay/update/update.css index 1b2a9171..63f3a7b9 100644 --- a/Launcher/runtime/dialog/overlay/update/update.css +++ b/Launcher/runtime/dialog/overlay/update/update.css @@ -29,6 +29,14 @@ .progress-bar { -fx-background-color: transparent; } +.progress-indicator { + -fx-background-color: transparent; +} + +.progress-indicator .indicator { + -fx-background-color: transparent; +} + .progress-indicator:indeterminate *.segment { -fx-background-color: rgba(33, 150, 243, 0.8); } diff --git a/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java index d4802619..b3d5f440 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java @@ -231,7 +231,7 @@ private static void addClientArgs(Collection args, ClientProfile profile Collections.addAll(args, "--versionType", "Launcher v" + Version.getVersion().getVersionString()); // Fix `-XstartOnFirstThread` in MacOS - if (version.compareTo(ClientProfile.Version.MC114) >= 0 && JVMHelper.OS_TYPE == OS.MACOSX) + if (version.compareTo(ClientProfile.Version.MC113) >= 0 && JVMHelper.OS_TYPE == OS.MACOSX) Collections.addAll(args, "-XstartOnFirstThread"); // Add server args