diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 80f2a36..8ea5e8a 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -23,10 +23,8 @@ export default class CalendarImage extends Vue { }; private on_resize() { - this.$refs.container.style.setProperty( - "height", - this.$refs.background.offsetHeight + "px" - ); + this.$refs.container.style.height = + this.$refs.background.offsetHeight + "px"; } public mounted() { diff --git a/ui/src/components/rects/Rect.vue b/ui/src/components/rects/Rect.vue index e874d04..2af32ce 100644 --- a/ui/src/components/rects/Rect.vue +++ b/ui/src/components/rects/Rect.vue @@ -1,6 +1,6 @@