From efc7ab88b6d263bde9f672953a71b0be02d4878b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=8A=B9=EA=B7=BC/Common=20Platform=20Lab=28SR?= =?UTF-8?q?=29/Staff=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 31 Aug 2021 09:14:49 +0900 Subject: [PATCH] Fix GraphicsView scaling issue (#136) --- .../src/Handlers/GraphicsView/GraphicsViewHandler.Tizen.cs | 5 ++++- src/Core/src/Platform/Tizen/MauiShapeView.cs | 2 +- src/Core/src/Platform/Tizen/WrapperView.cs | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.Tizen.cs b/src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.Tizen.cs index a69a4eae0373..f8284d5081bf 100644 --- a/src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.Tizen.cs +++ b/src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.Tizen.cs @@ -7,7 +7,10 @@ public partial class GraphicsViewHandler : ViewHandler(() => { - var view = new SkiaGraphicsView(parent); + var view = new SkiaGraphicsView(parent) + { + DeviceScalingFactor = (float)DeviceInfo.ScalingFactor + }; view.Show(); Children.Add(view); view.Lower();