Adding Cursor for rotation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@720 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
BIN
editor/images/rotate.png
Normal file
BIN
editor/images/rotate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -284,7 +284,7 @@ function BatchCommand(text) {
|
|||||||
"attr": {
|
"attr": {
|
||||||
"id": ("selectorGrip_rotate_connector_" + this.id),
|
"id": ("selectorGrip_rotate_connector_" + this.id),
|
||||||
"stroke": "blue",
|
"stroke": "blue",
|
||||||
"stroke-width": "1",
|
"stroke-width": "1"
|
||||||
}
|
}
|
||||||
}) );
|
}) );
|
||||||
this.rotateGrip = this.selectorGroup.appendChild( addSvgElementFromJson({
|
this.rotateGrip = this.selectorGroup.appendChild( addSvgElementFromJson({
|
||||||
@@ -294,7 +294,8 @@ function BatchCommand(text) {
|
|||||||
"fill": "lime",
|
"fill": "lime",
|
||||||
"r": 4,
|
"r": 4,
|
||||||
"stroke": "blue",
|
"stroke": "blue",
|
||||||
"stroke-width": 2
|
"stroke-width": 2,
|
||||||
|
"style": "cursor:url(images/rotate.png) 12 12, auto;"
|
||||||
}
|
}
|
||||||
}) );
|
}) );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user