diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 81b7e73..36a1337 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -4,8 +4,8 @@ - - + +

Bar

diff --git a/ui/src/components/door_map/DoorPlacer.vue b/ui/src/components/door_map/DoorPlacer.vue index 91b6c46..59216f7 100644 --- a/ui/src/components/door_map/DoorPlacer.vue +++ b/ui/src/components/door_map/DoorPlacer.vue @@ -9,13 +9,19 @@
- +
diff --git a/ui/src/components/door_map/calendar.ts b/ui/src/components/door_map/calendar.ts index b61cad4..4e5f2e3 100644 --- a/ui/src/components/door_map/calendar.ts +++ b/ui/src/components/door_map/calendar.ts @@ -1,11 +1,11 @@ import { Rectangle } from "../rects/rectangles"; export class Door { - public day: number; - public readonly position: Rectangle; + public day?: number; + public position: Rectangle; - constructor(day: number, position: Rectangle) { - this.day = day; + constructor(position: Rectangle, day?: number) { this.position = position; + this.day = day; } } \ No newline at end of file