fix textbox cursor bug on resize (#810)
parent
275269eadf
commit
897dcdb097
|
@ -107,6 +107,8 @@ const mouseMoveEvent = (evt) => {
|
|||
if (!svgCanvas.getStarted()) { return }
|
||||
if (evt.button === 1 || svgCanvas.spaceKey) { return }
|
||||
|
||||
svgCanvas.textActions.init()
|
||||
|
||||
evt.preventDefault()
|
||||
|
||||
const selectedElements = svgCanvas.getSelectedElements()
|
||||
|
@ -558,6 +560,8 @@ const mouseUpEvent = (evt) => {
|
|||
if (evt.button === 2) { return }
|
||||
if (!svgCanvas.getStarted()) { return }
|
||||
|
||||
svgCanvas.textActions.init()
|
||||
|
||||
const selectedElements = svgCanvas.getSelectedElements()
|
||||
const zoom = svgCanvas.getZoom()
|
||||
|
||||
|
|
Loading…
Reference in New Issue