Fix GUI material preview positioning in the Material window

#552
This commit is contained in:
Wojciech Figat
2021-12-09 17:11:21 +01:00
parent 79d393b3ef
commit f1b3f71b09

View File

@@ -222,6 +222,7 @@ namespace FlaxEditor.Viewport.Previews
{
_guiMaterialControl = new Image
{
Offsets = Margin.Zero,
AnchorPreset = AnchorPresets.StretchAll,
KeepAspectRatio = false,
Brush = new MaterialBrush(),