diff --git a/editor/images/rotate.png b/editor/images/rotate.png new file mode 100644 index 00000000..afa68c6f Binary files /dev/null and b/editor/images/rotate.png differ diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 2e8f3f60..c390aaf4 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -284,7 +284,7 @@ function BatchCommand(text) { "attr": { "id": ("selectorGrip_rotate_connector_" + this.id), "stroke": "blue", - "stroke-width": "1", + "stroke-width": "1" } }) ); this.rotateGrip = this.selectorGroup.appendChild( addSvgElementFromJson({ @@ -294,7 +294,8 @@ function BatchCommand(text) { "fill": "lime", "r": 4, "stroke": "blue", - "stroke-width": 2 + "stroke-width": 2, + "style": "cursor:url(images/rotate.png) 12 12, auto;" } }) );