diff -r 9e55061c87fa -r 20a5eb6a02e6 svghmi/gen_index_xhtml.ysl2 --- a/svghmi/gen_index_xhtml.ysl2 Wed Dec 02 14:30:58 2020 +0100 +++ b/svghmi/gen_index_xhtml.ysl2 Wed Dec 02 14:31:57 2020 +0100 @@ -66,7 +66,9 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" { head; - body style="margin:0;overflow:hidden;user-select:none;" { + // prevents user selection by mouse click / touch and drag + // prevents pinch zoom and other accidental panning panning with touch devices + body style="margin:0;overflow:hidden;user-select:none;touch-action:none;" { // Inline SVG copy "$result_svg"; script{