ソースを参照

设备类补充属性设置

YaolongHan 4 年 前
コミット
ea43401184
1 ファイル変更1 行追加0 行削除
  1. 1 0
      persagy-web-big/src/items/SEquipItem.ts

+ 1 - 0
persagy-web-big/src/items/SEquipItem.ts

@@ -107,6 +107,7 @@ export class SEquipItem extends SIconTextItem {
             }
 
             item.font.size = val.font ? val.font : 12;
+            item.backgroundColor = val.backgroundColor ? new SColor(val.backgroundColor) : SColor.Transparent;
             item.isTransform = false;
             item.showSelect = false;
             item.color = val.color