From 8bb372c3fbb6c032f9a5ba637e88280bc442e5a8 Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Mon, 16 Jun 2014 11:03:35 -0400 Subject: [PATCH] Fixed setting slider min/max not triggering autosave --- src/watchers/Watcher.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/watchers/Watcher.as b/src/watchers/Watcher.as index 123c1a7..99c1ac6 100644 --- a/src/watchers/Watcher.as +++ b/src/watchers/Watcher.as @@ -392,6 +392,7 @@ public class Watcher extends Sprite implements DragClient { sliderMax = Math.max(minVal, maxVal); isDiscrete = (min.indexOf('.') < 0) && (max.indexOf('.') < 0); setSliderValue(sliderMin); + Scratch.app.setSaveNeeded(); } var d:DialogBox = new DialogBox(setMinMax); d.addTitle('Slider Range');