summaryrefslogtreecommitdiffstats
path: root/modules-available/roomplanner/templates/svg-plan.html
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-23 13:57:20 +0200
committerSimon Rettberg2019-07-23 13:57:20 +0200
commit04828b94e9df8321feae0bfb99daa468c0d3d383 (patch)
treee3b00490dc14a0f5d6ffda5bab1ce7c82bafee52 /modules-available/roomplanner/templates/svg-plan.html
parentslx-fixes.js: Make .cachedScript more compatible to .getScript (diff)
downloadslx-admin-04828b94e9df8321feae0bfb99daa468c0d3d383.tar.gz
slx-admin-04828b94e9df8321feae0bfb99daa468c0d3d383.tar.xz
slx-admin-04828b94e9df8321feae0bfb99daa468c0d3d383.zip
[roomplanner] Support creating recursive/composed rooms
Diffstat (limited to 'modules-available/roomplanner/templates/svg-plan.html')
-rw-r--r--modules-available/roomplanner/templates/svg-plan.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/roomplanner/templates/svg-plan.html b/modules-available/roomplanner/templates/svg-plan.html
index 16899e5c..a2ecd5a7 100644
--- a/modules-available/roomplanner/templates/svg-plan.html
+++ b/modules-available/roomplanner/templates/svg-plan.html
@@ -33,9 +33,9 @@
<stop offset="100%" stop-color="#074" />
</radialGradient>
</defs>
- <g transform="scale({{scale}}) rotate({{rotate}} {{centerX}} {{centerY}}) translate({{shiftX}} {{shiftY}})">
- <line x1="{{line.x1}}" y1="{{line.y1}}"
- x2="{{line.x2}}" y2="{{line.y2}}"
+ <g transform="scale({{scale}}) rotate({{rotate}} {{centerX}} {{centerY}})">
+ <line x1="0" y1="{{line.y}}"
+ x2="{{line.x}}" y2="{{line.y}}"
style="stroke:#555;stroke-width:.2;opacity:.5" />
{{#machines}}
<g transform="translate({{gridCol}} {{gridRow}})">