Add immediate game viewport sync after aspect ratio change in Editor
This commit is contained in:
@@ -386,6 +386,7 @@ namespace FlaxEditor.Windows
|
||||
{
|
||||
_viewport.Bounds = new Rectangle(Width * (1 - scaleWidth) / 2, 0, Width * scaleWidth, Height);
|
||||
}
|
||||
_viewport.SyncBackbufferSize();
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user