MCPcopy Create free account
hub / github.com/editablejs/editable / changeRotate

Function changeRotate

packages/plugins/image/src/components/image.tsx:222–227  ·  view source on GitHub ↗
(rotate: number)

Source from the content-addressed store, hash-verified

220 }
221
222 const changeRotate = (rotate: number) => {
223 if (Math.abs(rotate) === 360) {
224 rotate = 0
225 }
226 editor.rotateImage(rotate, element)
227 }
228
229 const isDone = state === 'done'
230

Callers 1

image.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…