From 75b403ac63754ec71a50f53904b1c4146beaa0c7 Mon Sep 17 00:00:00 2001 From: xiange Date: Sun, 5 Jan 2025 15:58:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=20changed=20contain=20to?= =?UTF-8?q?=20cover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/chili-ui/src/property/materialProperty.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/chili-ui/src/property/materialProperty.ts b/packages/chili-ui/src/property/materialProperty.ts index a4f3ecee..defdaa12 100644 --- a/packages/chili-ui/src/property/materialProperty.ts +++ b/packages/chili-ui/src/property/materialProperty.ts @@ -40,7 +40,7 @@ export class MaterialProperty extends PropertyBase { backgroundColor: new Binding(material, "color", new ColorConverter()), backgroundImage: new PathBinding(material, "map.image", new UrlStringConverter()), backgroundBlendMode: "multiply", - backgroundSize: "contain", + backgroundSize: "cover", cursor: "pointer", }, onclick: (e) => {