Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion web/src/pages/chamber-3d-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const DEFAULT_DEPTH_CM = 80
const DEFAULT_HEIGHT_CM = 160
const DEFAULT_WALL_HEIGHT_CM = 260
const DEFAULT_POT_COUNT: FeltPotCount = 1
const DEFAULT_ROOM_LAYOUT: RoomLayout = "flat"

const DEFAULT_POT_KEY: PotKey = "felt/12l"

Expand All @@ -81,7 +82,7 @@ export function Chamber3dPage() {
useState<FanOrientationDeg>(DEFAULT_FAN_ORIENTATION_DEG)
const [fanCeilingGapCm, setFanCeilingGapCm] = useState(DEFAULT_FAN_CEILING_GAP_CM)
const [fanPosition, setFanPosition] = useState<FanPosition>(DEFAULT_FAN_POSITION)
const [roomLayout, setRoomLayout] = useState<RoomLayout>("flat")
const [roomLayout, setRoomLayout] = useState<RoomLayout>(DEFAULT_ROOM_LAYOUT)
const [wallHeightCm, setWallHeightCm] = useState(DEFAULT_WALL_HEIGHT_CM)

const {
Expand Down Expand Up @@ -246,6 +247,7 @@ export function Chamber3dPage() {
setFanOrientationDeg(DEFAULT_FAN_ORIENTATION_DEG)
setFanCeilingGapCm(DEFAULT_FAN_CEILING_GAP_CM)
setFanPosition(DEFAULT_FAN_POSITION)
setRoomLayout(DEFAULT_ROOM_LAYOUT)
setWallHeightCm(DEFAULT_WALL_HEIGHT_CM)
}}
>
Expand Down
Loading