Throttle rendering in static content windows
This commit is contained in:
@@ -451,6 +451,9 @@ namespace FlaxEditor.GUI.Docking
|
||||
Window = Platform.CreateWindow(ref settings);
|
||||
Window.Opacity = 0.6f;
|
||||
Window.GUI.BackgroundColor = Style.Current.DragWindow;
|
||||
|
||||
// Throttle rendering of static content
|
||||
Window.RenderTask.RenderFPS = 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -484,6 +487,9 @@ namespace FlaxEditor.GUI.Docking
|
||||
win = Platform.CreateWindow(ref settings);
|
||||
win.Opacity = 0.6f;
|
||||
win.GUI.BackgroundColor = Style.Current.DragWindow;
|
||||
|
||||
// Throttle rendering of static content
|
||||
win.RenderTask.RenderFPS = 2;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user