Przeglądaj źródła

设备类补充属性设置

YaolongHan 4 lat temu
rodzic
commit
ea43401184
1 zmienionych plików z 1 dodań i 0 usunięć
  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