MCPcopy
hub / github.com/methodofaction/Method-Draw / changeRotationAngle

Function changeRotationAngle

src/js/method-draw.js:229–234  ·  view source on GitHub ↗
(ctl)

Source from the content-addressed store, hash-verified

227 }
228
229 var changeRotationAngle = function(ctl) {
230 var preventUndo = true;
231 svgCanvas.setRotationAngle(ctl.value, preventUndo);
232 rotateCursor(ctl.value)
233 $('#tool_reorient').toggleClass('disabled', ctl.value == 0);
234 }
235
236 var changeZoom = function(ctl) {
237 var zoomlevel = ctl.value / 100;

Callers

nothing calls this directly

Calls 1

$Function · 0.85

Tested by

no test coverage detected