We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
UIManager
DrawUI()
1 parent 646710e commit 057ad36Copy full SHA for 057ad36
Brio/UI/UIManager.cs
@@ -197,13 +197,17 @@ private void ApplySettings()
197
198
private void DrawUI()
199
{
200
- BrioStyle.PushStyle();
201
-
202
- _windowSystem.Draw();
203
- FileDialogManager.Draw();
204
- _libraryWindow.DrawModal();
205
206
- BrioStyle.PopStyle();
+ try
+ {
+ BrioStyle.PushStyle();
+ _windowSystem.Draw();
+ FileDialogManager.Draw();
+ _libraryWindow.DrawModal();
+ }
207
+ finally
208
209
+ BrioStyle.PopStyle();
210
211
}
212
213
public void Dispose()
0 commit comments