From f685d1e08a9f0ce7aac029bc6adb4bf7719b49b2 Mon Sep 17 00:00:00 2001 From: Yaroslavik Date: Mon, 12 Nov 2018 22:03:02 +0200 Subject: [PATCH] Fixed ram lable (lable don't change value when moving the slider) Lable don't change value when moving the slider. --- Launcher/runtime/dialog/overlay/settings/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/runtime/dialog/overlay/settings/settings.js b/Launcher/runtime/dialog/overlay/settings/settings.js index d4225b39..b4fc596d 100644 --- a/Launcher/runtime/dialog/overlay/settings/settings.js +++ b/Launcher/runtime/dialog/overlay/settings/settings.js @@ -93,7 +93,7 @@ var settingsOverlay = { ramSlider.setValue(settings.ram); ramSlider.valueProperty()["addListener(javafx.beans.value.ChangeListener)"](function(o, ov, nv) { settings.setRAM(nv); - settings.updateRAMLabel(); + settingsOverlay.updateRAMLabel(); }); // Lookup delete dir button