@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.
package/dist/index.js CHANGED
@@ -15155,7 +15155,7 @@ function instance72($$self, $$props, $$invalidate) {
15155
15155
  if ((app == null ? void 0 : app.manager) && (app == null ? void 0 : app.manager.room)) {
15156
15156
  if (colors2 && !((_b = config.colors) == null ? void 0 : _b.length)) {
15157
15157
  const floatBarOptions = app == null ? void 0 : app.manager.room.floatBarOptions;
15158
- if (floatBarOptions.colors) {
15158
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
15159
15159
  $$invalidate(0, colors2 = floatBarOptions.colors);
15160
15160
  }
15161
15161
  } else {
@@ -17208,7 +17208,7 @@ function createUI(app, div) {
17208
17208
  let colors2;
17209
17209
  if ((app == null ? void 0 : app.manager) && app.manager.room) {
17210
17210
  const floatBarOptions = app.manager.room.floatBarOptions;
17211
- if (floatBarOptions.colors) {
17211
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
17212
17212
  colors2 = floatBarOptions.colors;
17213
17213
  }
17214
17214
  }