@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.mjs CHANGED
@@ -15149,7 +15149,7 @@ function instance72($$self, $$props, $$invalidate) {
15149
15149
  if ((app == null ? void 0 : app.manager) && (app == null ? void 0 : app.manager.room)) {
15150
15150
  if (colors2 && !((_b = config.colors) == null ? void 0 : _b.length)) {
15151
15151
  const floatBarOptions = app == null ? void 0 : app.manager.room.floatBarOptions;
15152
- if (floatBarOptions.colors) {
15152
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
15153
15153
  $$invalidate(0, colors2 = floatBarOptions.colors);
15154
15154
  }
15155
15155
  } else {
@@ -17202,7 +17202,7 @@ function createUI(app, div) {
17202
17202
  let colors2;
17203
17203
  if ((app == null ? void 0 : app.manager) && app.manager.room) {
17204
17204
  const floatBarOptions = app.manager.room.floatBarOptions;
17205
- if (floatBarOptions.colors) {
17205
+ if (floatBarOptions == null ? void 0 : floatBarOptions.colors) {
17206
17206
  colors2 = floatBarOptions.colors;
17207
17207
  }
17208
17208
  }