summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-24 11:02:37 +0200
committerSimon Rettberg2019-04-24 11:02:37 +0200
commit5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64 (patch)
treef75a7d5e6d7d5318daf03c2712c1b33a8f7f0793
parent[roomplanner] Fix svg rotate logic (diff)
downloadslx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.tar.gz
slx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.tar.xz
slx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.zip
[roomplanner] Swap translate/rotate in SVG
-rw-r--r--modules-available/roomplanner/templates/svg-plan.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/roomplanner/templates/svg-plan.html b/modules-available/roomplanner/templates/svg-plan.html
index 5e1e13b2..a811e1af 100644
--- a/modules-available/roomplanner/templates/svg-plan.html
+++ b/modules-available/roomplanner/templates/svg-plan.html
@@ -33,7 +33,7 @@
<stop offset="100%" stop-color="#b55" />
</radialGradient>
</defs>
- <g transform="translate({{shiftX}}, {{shiftY}}) rotate({{rotate}} {{centerX}} {{centerY}})">
+ <g transform="rotate({{rotate}} {{centerX}} {{centerY}}) translate({{shiftX}} {{shiftY}})">
<line x1="{{line.x1}}" y1="{{line.y1}}"
x2="{{line.x2}}" y2="{{line.y2}}"
style="stroke:#555;stroke-width:.2;opacity:.5" />