3DStreet / 3dstreet-editor

3DStreet Editor Repo
https://3dstreet.app
Other
19 stars 3 forks source link

checkbox does not always work correctly #374

Closed Algorush closed 7 months ago

Algorush commented 8 months ago

I noticed one thing with the checkbox in the right panel interface. The switch doesn't work when I click on an area outside of the small circle. But at the same time the values ​​of the input checkbox change and the checked class is added/removed from the parent div.checkboxAnim. The switching animation also works. Here the switch showVehicles is set to true. The value of the label at the top (showVehicles - value:true) image

Here the switch showVehicles is in false mode after I click on an area outside of the small circle. But the value of the label above does not change (showVehicles - value:true). Vihicles are on the scene. image

here after I pressed the circle inside the switch. Everything works as it should image

kfarr commented 7 months ago

@Algorush can you check if #379 fixes the issue?