|
@@ -45,7 +45,7 @@ for f in `ls src/plot/dispensy_sch.svg/*.svg | sort -r`; do
|
45
|
45
|
echo "<embed type=\"image/svg+xml\" src=\"$file\" id=\"pz_$name\" style=\"width:100%;\"/>" >> src/inc_dispensy_sch.md
|
46
|
46
|
echo "<script>" >> src/inc_dispensy_sch.md
|
47
|
47
|
echo "document.getElementById('pz_$name').addEventListener('load', function(){" >> src/inc_dispensy_sch.md
|
48
|
|
- echo "svgPanZoom(document.getElementById('pz_$name'), {controlIconsEnabled: true});" >> src/inc_dispensy_sch.md
|
|
48
|
+ echo "svgPanZoom(document.getElementById('pz_$name'), {controlIconsEnabled: true, minZoom: 1.0});" >> src/inc_dispensy_sch.md
|
49
|
49
|
echo "})" >> src/inc_dispensy_sch.md
|
50
|
50
|
echo "</script>" >> src/inc_dispensy_sch.md
|
51
|
51
|
echo "</div>" >> src/inc_dispensy_sch.md
|