Skip to content

Commit

Permalink
🐞 fix: material color
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangechen committed Mar 29, 2024
1 parent dd665d4 commit b68a6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chili-ui/src/property/material/materialEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class MaterialEditor extends HTMLElement {
title: material.name,
style: {
backgroundColor: new Binding(material, "color", this.colorConverter),
background: new Binding(material, "texture", new UrlStringConverter()),
backgroundImage: new Binding(material, "texture", new UrlStringConverter()),
backgroundBlendMode: "multiply",
backgroundSize: "contain",
},
Expand Down

0 comments on commit b68a6ed

Please sign in to comment.