diff options
author | Simon Rettberg | 2019-04-24 11:02:37 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-24 11:02:37 +0200 |
commit | 5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64 (patch) | |
tree | f75a7d5e6d7d5318daf03c2712c1b33a8f7f0793 /modules-available/roomplanner/templates/svg-plan.html | |
parent | [roomplanner] Fix svg rotate logic (diff) | |
download | slx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.tar.gz slx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.tar.xz slx-admin-5fd0ac106802e9e3dc82313b82fd1d3c94b8dc64.zip |
[roomplanner] Swap translate/rotate in SVG
Diffstat (limited to 'modules-available/roomplanner/templates/svg-plan.html')
-rw-r--r-- | modules-available/roomplanner/templates/svg-plan.html | 2 |
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" /> |