@netless/fastboard-ui 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14407,7 +14407,7 @@ function instance72($$self, $$props, $$invalidate) {
14407
14407
  if ((app == null ? void 0 : app.manager) && (app == null ? void 0 : app.manager.room)) {
14408
14408
  if (colors2 && !((_b = config.colors) == null ? void 0 : _b.length)) {
14409
14409
  const floatBarOptions = app == null ? void 0 : app.manager.room.floatBarOptions;
14410
- if (floatBarOptions.colors) {
14410
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
14411
14411
  $$invalidate(0, colors2 = floatBarOptions.colors);
14412
14412
  }
14413
14413
  } else {
@@ -16454,7 +16454,7 @@ function createUI(app, div) {
16454
16454
  let colors2;
16455
16455
  if ((app == null ? void 0 : app.manager) && app.manager.room) {
16456
16456
  const floatBarOptions = app.manager.room.floatBarOptions;
16457
- if (floatBarOptions.colors) {
16457
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
16458
16458
  colors2 = floatBarOptions.colors;
16459
16459
  }
16460
16460
  }