Throttle rendering in static content windows

This commit is contained in:
2023-10-04 19:48:52 +03:00
parent 63d298ca84
commit 79135e596a
4 changed files with 13 additions and 1 deletions

View File

@@ -178,6 +178,9 @@ namespace FlaxEditor.GUI.Dialogs
windowGUI.PerformLayout();
OnShow();
// Throttle rendering of static content
_window.RenderTask.RenderFPS = 2;
}
private void OnClosing(ClosingReason reason, ref bool cancel)