mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-12 09:01:18 -05:00
Merge pull request #257 from nathan/slider-min-max-autosave
Fixed setting slider min/max not triggering autosave
This commit is contained in:
commit
0e8f29f0b9
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ public class Watcher extends Sprite implements DragClient {
|
||||||
sliderMax = Math.max(minVal, maxVal);
|
sliderMax = Math.max(minVal, maxVal);
|
||||||
isDiscrete = (min.indexOf('.') < 0) && (max.indexOf('.') < 0);
|
isDiscrete = (min.indexOf('.') < 0) && (max.indexOf('.') < 0);
|
||||||
setSliderValue(sliderMin);
|
setSliderValue(sliderMin);
|
||||||
|
Scratch.app.setSaveNeeded();
|
||||||
}
|
}
|
||||||
var d:DialogBox = new DialogBox(setMinMax);
|
var d:DialogBox = new DialogBox(setMinMax);
|
||||||
d.addTitle('Slider Range');
|
d.addTitle('Slider Range');
|
||||||
|
|
Loading…
Reference in a new issue