summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-24 11:02:37 +0200
committerSimon Rettberg2019-05-23 12:19:33 +0200
commit7abed9d4f5132de2d6d6c0518f3a7cf5dc1d25ad (patch)
tree20648155521d7f2c61e25378be1dec86efef98a7
parent[roomplanner] Fix svg rotate logic (diff)
downloadslx-admin-7abed9d4f5132de2d6d6c0518f3a7cf5dc1d25ad.tar.gz
slx-admin-7abed9d4f5132de2d6d6c0518f3a7cf5dc1d25ad.tar.xz
slx-admin-7abed9d4f5132de2d6d6c0518f3a7cf5dc1d25ad.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" />