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