From f1fcca06a8bd3c16830c65b8ecb0b6f8a44d0f25 Mon Sep 17 00:00:00 2001 From: Adrian Jones Date: Fri, 30 Sep 2011 14:37:52 +0000 Subject: [PATCH] Patch for preventing undesirable selection of tool buttons. For example if ctrl-a is pressed. git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2045 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 68e53556..1b47b404 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -2,6 +2,14 @@ background: #D0D0D0; } +html, body, div{ + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; +} + #browser-not-supported { font-size: 0.8em; font-family: Verdana, Helvetica, Arial;