diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-08-03 12:15:15 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-08-03 12:15:15 +0200 |
| commit | 51387ddfbc536c5ecc88658682f1894411f60631 (patch) | |
| tree | 0ad29b7e49e81d606a1b0eed45afc66c1b32a91d /gui.js | |
| parent | b4ffac6cdab6f684396992a3e60ba03c9ad92e31 (diff) | |
| download | snap-51387ddfbc536c5ecc88658682f1894411f60631.tar.gz snap-51387ddfbc536c5ecc88658682f1894411f60631.zip | |
adjust indentation
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -212,7 +212,7 @@ IDE_Morph.prototype.init = function (isAutoFill) { this.corral = null; this.isAutoFill = isAutoFill || true; - this.isMuted = false; + this.isMuted = false; this.isAppMode = false; this.isSmallStage = false; this.filePicker = null; @@ -456,7 +456,7 @@ IDE_Morph.prototype.createControlBar = function () { stopButton, pauseButton, startButton, - muteSoundsButton, + muteSoundsButton, projectButton, settingsButton, stageSizeButton, @@ -546,7 +546,7 @@ IDE_Morph.prototype.createControlBar = function () { this.controlBar.add(appModeButton); this.controlBar.appModeButton = appModeButton; // for refreshing - //muteSoundsButton + //muteSoundsButton button = new ToggleButtonMorph( null, //colors, myself, // the IDE is the target @@ -3404,14 +3404,13 @@ IDE_Morph.prototype.toggleStageSize = function (isSmall) { }; IDE_Morph.prototype.toggleMuteSounds = function (isMuted) { - this.isMuted = isNil(isMuted) ? !this.isMuted : isMuted; - this.controlBar.muteSoundsButton.refresh(); + this.isMuted = isNil(isMuted) ? !this.isMuted : isMuted; + this.controlBar.muteSoundsButton.refresh(); this.sprites.asArray().forEach(function (sprt) { - sprt.refreshVolumeOfAllActiveSounds(); + sprt.refreshVolumeOfAllActiveSounds(); }); - this.stage.refreshVolumeOfAllActiveSounds(); - + this.stage.refreshVolumeOfAllActiveSounds(); }; IDE_Morph.prototype.createNewProject = function () { |
