Project 'tomas.hozman/graphics-generator' was moved to 'to-generator/graphics-generator'. Please update any links and bookmarks that may still have the old path.
Select Git revision
-
Alexa Valentová authoredAlexa Valentová authored
canvas.js 425 B
import { fabric } from 'fabric'
import { clearObjects, sortObjects, transformHighlightedText, checkTextBoxHeight } from '../../components/canvas/utils'
import { PaddedHighlightingTextbox } from '../../components/canvas/textbox'
const redraw = async (canvas, options) => {
clearObjects(
[
],
canvas
)
canvas.preserveObjectStacking = true
sortObjects(canvas)
}
export default redraw