Skip to content

Commit 99b86cf

Browse files
committed
fix scaling issue
1 parent f500911 commit 99b86cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimulationFramework.Desktop/DesktopPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public virtual void Initialize(MessageDispatcher dispatcher)
4848
frameProvider?.Resize(m.Width, m.Height);
4949
});
5050

51-
frameProvider = new DesktopSkiaFrameProvider(Window.Size.X, Window.Size.Y);
51+
frameProvider = new DesktopSkiaFrameProvider(Window.FramebufferSize.X, Window.FramebufferSize.Y);
5252
Application.RegisterComponent(new DesktopApplicationProvider());
5353
var graphics = CreateGraphicsProvider();
5454

0 commit comments

Comments
 (0)