From 7305ba177ffae4f10cb629719daebceb88a805f8 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 27 Sep 2024 15:12:16 +0800 Subject: [PATCH] refactor: add default config of abstract renderer --- packages/g-lite/src/AbstractRenderer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/g-lite/src/AbstractRenderer.ts b/packages/g-lite/src/AbstractRenderer.ts index e6c859311..ad61c5808 100644 --- a/packages/g-lite/src/AbstractRenderer.ts +++ b/packages/g-lite/src/AbstractRenderer.ts @@ -87,6 +87,8 @@ export class AbstractRenderer implements IRenderer { enableDirtyRectangleRendering: true, enableDirtyRectangleRenderingDebug: false, enableSizeAttenuation: true, + imageSmoothingEnabled: true, + imageSmoothingQuality: 'high', ...config, }; }