diff --git a/packages/frontend/src/pages/room.default-heya-options.vue b/packages/frontend/src/pages/room.default-heya-options.vue
index fa75f672c5..ad662a0ead 100644
--- a/packages/frontend/src/pages/room.default-heya-options.vue
+++ b/packages/frontend/src/pages/room.default-heya-options.vue
@@ -8,19 +8,34 @@ SPDX-License-Identifier: AGPL-3.0-only
Wall N
- { emit('update', { ...options, walls: { ...options.walls, n: v } }); }">
+ { update({ walls: { ...options.walls, n: v } }); }">
Wall S
- { emit('update', { ...options, walls: { ...options.walls, s: v } }); }">
+ { update({ walls: { ...options.walls, s: v } }); }">
Wall W
- { emit('update', { ...options, walls: { ...options.walls, w: v } }); }">
+ { update({ walls: { ...options.walls, w: v } }); }">
Wall E
- { emit('update', { ...options, walls: { ...options.walls, e: v } }); }">
+ { update({ walls: { ...options.walls, e: v } }); }">
+
+
+ Ceiling
+ { update({ ceiling: { ...options.ceiling, material: v } }); }"
+ >
+ wallpaper
+
+ { const c = getRgb(v); if (c != null) update({ ceiling: { ...options.ceiling, color: c } }); }">
+ color
+
@@ -48,6 +63,10 @@ const props = defineProps<{
const emit = defineEmits<{
(ev: 'update', v: SimpleHeyaOptions): void;
}>();
+
+function update(v: Partial) {
+ emit('update', { ...props.options, ...v });
+}