From 909d55076c34804caeb6e101a42f12fd0376103b Mon Sep 17 00:00:00 2001 From: Yaroslavik Date: Tue, 13 Nov 2018 04:49:12 +0200 Subject: [PATCH] Fixed ram lable (lable don't change value when moving the slider) (#61) 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