diff --git a/src/renderer/components/CheckPanel.vue b/src/renderer/components/CheckPanel.vue index 7fb749f..829e15b 100644 --- a/src/renderer/components/CheckPanel.vue +++ b/src/renderer/components/CheckPanel.vue @@ -5,8 +5,9 @@
- -
+ +
+

Check not run

@@ -53,6 +54,9 @@ padding-left: 10px; padding-right: 10px; } +h3 { + text-align: center; +} .label { display: flex; justify-content: left; diff --git a/src/renderer/components/ParkingEdit.vue b/src/renderer/components/ParkingEdit.vue index a3e216a..364f360 100644 --- a/src/renderer/components/ParkingEdit.vue +++ b/src/renderer/components/ParkingEdit.vue @@ -82,7 +82,7 @@ {{type}} - + Calculate : diff --git a/src/renderer/loaders/ParkingSpot.js b/src/renderer/loaders/ParkingSpot.js index 2fb6458..de6ead9 100644 --- a/src/renderer/loaders/ParkingSpot.js +++ b/src/renderer/loaders/ParkingSpot.js @@ -216,12 +216,12 @@ L.ParkingSpot = L.Circle.extend({ if(this.direction) { this.direction.setStyle(style); this.frontWheel.setStyle(style); - if(this.box) { - this.box.setStyle(style); - } } this.updateWheelPos(); this.updateBox(); + if(this.box) { + this.box.setStyle(style); + } }, deselect() { var style = {}; @@ -230,13 +230,13 @@ L.ParkingSpot = L.Circle.extend({ if(this.direction) { this.direction.setStyle(style); this.frontWheel.setStyle(style); - if(this.box) { - this.box.setStyle(style); - } } this.updateWheelPos(); this.updateBox(); - }, + if(this.box) { + this.box.setStyle(style); + } + }, addListeners: function () { this.on('editable:drawing:move', function (event) { console.debug("Move Parking Spot: ", event);