You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if a shape label is defined in newshape using text or texttemplate, the text is not rendered until mouseup following the initial draw.
Modify shape drawing code such that the text is rendered during mousedown.
This is doable, but involves some additional complexity since the initial shape drawing code (during mousedown) is completely separate from the normal shape drawing code, and we don't have access to the same set of variables.
Implementation will involve modifying key lines in src/components/selections/select.js and possibly src/components/shapes/display_outlines.js due to the overlap between selection and shape code.
The text was updated successfully, but these errors were encountered:
Currently, if a shape label is defined in
newshape
usingtext
ortexttemplate
, the text is not rendered until mouseup following the initial draw.Modify shape drawing code such that the text is rendered during mousedown.
This is doable, but involves some additional complexity since the initial shape drawing code (during mousedown) is completely separate from the normal shape drawing code, and we don't have access to the same set of variables.
Implementation will involve modifying key lines in
src/components/selections/select.js
and possiblysrc/components/shapes/display_outlines.js
due to the overlap between selection and shape code.The text was updated successfully, but these errors were encountered: