diff --git a/packages/frontend/src/pages/room.default-heya-options.vue b/packages/frontend/src/pages/room.default-heya-options.vue index 93c75aa1e8..b391aeee60 100644 --- a/packages/frontend/src/pages/room.default-heya-options.vue +++ b/packages/frontend/src/pages/room.default-heya-options.vue @@ -69,7 +69,8 @@ SPDX-License-Identifier: AGPL-3.0-only > wallpaper - { const c = getRgb(v); if (c != null) update({ ceiling: { ...options.ceiling, color: c } }); }"> + + { const c = getRgb(v); if (c != null) update({ ceiling: { ...options.ceiling, color: c } }); }"> color @@ -85,7 +86,8 @@ SPDX-License-Identifier: AGPL-3.0-only > material - { const c = getRgb(v); if (c != null) update({ flooring: { ...options.flooring, color: c } }); }"> + + { const c = getRgb(v); if (c != null) update({ flooring: { ...options.flooring, color: c } }); }"> color diff --git a/packages/frontend/src/pages/room.default-heya-pillar-options.vue b/packages/frontend/src/pages/room.default-heya-pillar-options.vue index 1e2f13f730..f319f64ecb 100644 --- a/packages/frontend/src/pages/room.default-heya-pillar-options.vue +++ b/packages/frontend/src/pages/room.default-heya-pillar-options.vue @@ -15,7 +15,8 @@ SPDX-License-Identifier: AGPL-3.0-only > wallpaper - { const c = getRgb(v); if (c != null) update({ color: c }); }"> + + { const c = getRgb(v); if (c != null) update({ color: c }); }"> color { update({ show: v }); }"> diff --git a/packages/frontend/src/pages/room.default-heya-wall-options.vue b/packages/frontend/src/pages/room.default-heya-wall-options.vue index 293366615e..1e88ce2876 100644 --- a/packages/frontend/src/pages/room.default-heya-wall-options.vue +++ b/packages/frontend/src/pages/room.default-heya-wall-options.vue @@ -15,7 +15,8 @@ SPDX-License-Identifier: AGPL-3.0-only > wallpaper - { const c = getRgb(v); if (c != null) update({ color: c }); }"> + + { const c = getRgb(v); if (c != null) update({ color: c }); }"> color @@ -31,7 +32,8 @@ SPDX-License-Identifier: AGPL-3.0-only > beam material - { const c = getRgb(v); if (c != null) update({ beamColor: c }); }"> + + { const c = getRgb(v); if (c != null) update({ beamColor: c }); }"> beam color diff --git a/packages/frontend/src/pages/room.heya-options.vue b/packages/frontend/src/pages/room.heya-options.vue new file mode 100644 index 0000000000..908ba52c76 --- /dev/null +++ b/packages/frontend/src/pages/room.heya-options.vue @@ -0,0 +1,57 @@ + + + + + + controller.changeHeyaType(v)" + > + Heya type + + + + { const c = getRgb(v); if (c != null) controller.updateRoomLightColor(c); }"> + light color + + + + controller.updateHeyaOptions(v)"> + + + + + + + + diff --git a/packages/frontend/src/pages/room.vue b/packages/frontend/src/pages/room.vue index 5227238275..b422c1bae4 100644 --- a/packages/frontend/src/pages/room.vue +++ b/packages/frontend/src/pages/room.vue @@ -72,21 +72,7 @@ SPDX-License-Identifier: AGPL-3.0-only - - Room options - - controller.changeHeyaType(v)" - > - Heya type - - - - controller.updateHeyaOptions(v)"> - - + @@ -97,20 +83,16 @@ SPDX-License-Identifier: AGPL-3.0-only