Skip to content

Commit

Permalink
🎈 perf: changed contain to cover
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangechen committed Jan 5, 2025
1 parent 01870b7 commit 75b403a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chili-ui/src/property/materialProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 75b403a

Please sign in to comment.