Fixed setting slider min/max not triggering autosave

This commit is contained in:
Nathan Dinsmore 2014-06-16 11:03:35 -04:00
parent 5132c96eb2
commit 8bb372c3fb

View file

@ -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');