Fixed bug where 'move' cursor would appear outside the canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@474 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
328261b9e3
commit
6468b758ef
|
@ -15,7 +15,7 @@ function svg_edit_setup() {
|
|||
var setSelectMode = function() {
|
||||
$('.tool_button_current').removeClass('tool_button_current').addClass('tool_button');
|
||||
$('#tool_select').addClass('tool_button_current');
|
||||
$('#styleoverrides').text('*{cursor:move;pointer-events:all} svg{cursor:default}');
|
||||
$('#styleoverrides').text('#svgcanvas svg *{cursor:move;pointer-events:all} #svgcanvas svg{cursor:default}');
|
||||
svgCanvas.setMode('select');
|
||||
};
|
||||
|
||||
|
@ -365,7 +365,7 @@ function svg_edit_setup() {
|
|||
var clickSelect = function() {
|
||||
if (toolButtonClick('#tool_select')) {
|
||||
svgCanvas.setMode('select');
|
||||
$('#styleoverrides').text('*{cursor:move;pointer-events:all} svg{cursor:default}');
|
||||
$('#styleoverrides').text('#svgcanvas svg *{cursor:move;pointer-events:all}, #svgcanvas svg{cursor:default}');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue