diff --git a/UI/Input/DirectionInput.ts b/UI/Input/DirectionInput.ts index 7c6f152..3d7f89a 100644 --- a/UI/Input/DirectionInput.ts +++ b/UI/Input/DirectionInput.ts @@ -37,7 +37,7 @@ export default class DirectionInput extends InputElement { console.log("Inner render direction") return new Combine([ Svg.direction_svg().SetStyle( - `position: absolute;top: 0;left: 0;width: 100%;height: 100%;rotategs:${this.value.data}deg;`) + `position: absolute;top: 0;left: 0;width: 100%;height: 100%;rotate:${this.value.data}deg;`) .SetClass("direction-svg"), Svg.compass_svg().SetStyle( "position: absolute;top: 0;left: 0;width: 100%;height: 100%;") diff --git a/assets/themes/surveillance_cameras/logo.svg b/assets/themes/surveillance_cameras/logo.svg new file mode 100644 index 0000000..3687143 --- /dev/null +++ b/assets/themes/surveillance_cameras/logo.svg @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/assets/themes/surveillance_cameras/surveillance_cameras.json b/assets/themes/surveillance_cameras/surveillance_cameras.json index 29d9e27..67bd8c5 100644 --- a/assets/themes/surveillance_cameras/surveillance_cameras.json +++ b/assets/themes/surveillance_cameras/surveillance_cameras.json @@ -17,7 +17,7 @@ "nl" ], "maintainer": "", - "icon": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg", + "icon": "./assets/themes/surveillance_cameras/logo.svg", "version": "0", "startLat": 0, "startLon": 0, @@ -277,7 +277,7 @@ ], "hideUnderlayingFeaturesMinPercentage": 0, "icon": { - "render": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg" + "render": "./assets/themes/surveillance_cameras/logo.svg" }, "width": { "render": "8"