Description:
Fix indentation.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r652:a5370b425dd2 -

@@ -154,7 +154,7
154 154 ImGui.SameLine();
155 155 ImGui.DragFloat("##Sfx", ref newSoundEffectVolume, 0.005f, 0.0f, 1.0f, "%.2f");
156 156 ImGui.SameLine();
157 ImGui.Checkbox("Mute", ref newSoundEffectsMute);
157 ImGui.Checkbox("Mute", ref newSoundEffectsMute);
158 158
159 159
160 160 ImGui.Separator();
@@ -205,11 +205,11
205 205 origFontName = OptionsWindow.fontName;
206 206 origFontSize = OptionsWindow.fontSize;
207 207 origProfanityLevel = OptionsWindow.profanityLevel;
208 origSoundEffectVolume = OptionsWindow.newSoundEffectVolume;
209 origSoundEffectsMute = OptionsWindow.newSoundEffectsMute;
208 origSoundEffectVolume = OptionsWindow.newSoundEffectVolume;
209 origSoundEffectsMute = OptionsWindow.newSoundEffectsMute;
210 210
211 211
212 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)profanityLevel,
212 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)profanityLevel,
213 213 NewSoundEffectVolume = newSoundEffectVolume,
214 214 NewSoundEffectMuted = newSoundEffectsMute});
215 215 }
@@ -232,10 +232,10
232 232 origFontName = OptionsWindow.fontName;
233 233 origFontSize = OptionsWindow.fontSize;
234 234 origProfanityLevel = OptionsWindow.profanityLevel;
235 origSoundEffectVolume = OptionsWindow.newSoundEffectVolume;
236 origSoundEffectsMute = OptionsWindow.newSoundEffectsMute;
235 origSoundEffectVolume = OptionsWindow.newSoundEffectVolume;
236 origSoundEffectsMute = OptionsWindow.newSoundEffectsMute;
237 237
238 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)profanityLevel,
238 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)profanityLevel,
239 239 NewSoundEffectVolume = newSoundEffectVolume,
240 240 NewSoundEffectMuted = newSoundEffectsMute});
241 241 }
@@ -250,16 +250,16
250 250 OptionsWindow.fontName = origFontName;
251 251 OptionsWindow.fontSize = origFontSize;
252 252 OptionsWindow.profanityLevel = origProfanityLevel;
253 OptionsWindow.newSoundEffectVolume = origSoundEffectVolume;
254 OptionsWindow.newSoundEffectsMute = origSoundEffectsMute;
253 OptionsWindow.newSoundEffectVolume = origSoundEffectVolume;
254 OptionsWindow.newSoundEffectsMute = origSoundEffectsMute;
255 255
256 256
257 if ((origSoundEffectsMute != newSoundEffectsMute)
258 | (origSoundEffectVolume != newSoundEffectVolume)) {
259 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)origProfanityLevel,
260 NewSoundEffectVolume = origSoundEffectVolume,
261 NewSoundEffectMuted = origSoundEffectsMute});
262 }
257 if ((origSoundEffectsMute != newSoundEffectsMute)
258 | (origSoundEffectVolume != newSoundEffectVolume)) {
259 bridgeEngine.setOptionMessages.Add(new SetOptionMessage { NewProfanitySetting = (ProfanityLevel)origProfanityLevel,
260 NewSoundEffectVolume = origSoundEffectVolume,
261 NewSoundEffectMuted = origSoundEffectsMute});
262 }
263 263 }
264 264
265 265
You need to be logged in to leave comments. Login now