feat: Add Color Util

This commit is contained in:
钱泽虹 2023-08-25 19:27:26 +08:00 committed by osborn
parent a48cd6a6ad
commit e198c92530

View File

@ -360,7 +360,6 @@ export abstract class DoricViewNode {
} }
set backgroundColor(v: number | GradientColor) { set backgroundColor(v: number | GradientColor) {
console.log('background')
if (typeof v === 'number') { if (typeof v === 'number') {
this.applyCSSStyle({ backgroundColor: toRGBAString(v) }); this.applyCSSStyle({ backgroundColor: toRGBAString(v) });
} else { } else {