feat: Add Color Util
This commit is contained in:
parent
a48cd6a6ad
commit
e198c92530
@ -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 {
|
||||||
|
Reference in New Issue
Block a user