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
{{ message }}
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
Hello guys. When i use the slot="annotation" on the rect element the annotation doesnt go out of the canvas border. Furthermore the annotation doesn't move faster than my mouse cursor when selected. On the other hand the annotation i create my self with slot="drawing" on the rect element move way faster than my mouse cursor and they go outside the borders. Can anyone help me understand why this is happening?
when i set the restriction to 'parent' in the makeInteractable method inside the manipulate.js it still doesnt restrict the rectangle i draw to the borders of the canvas
I simply switched the annotation slot with the drawing slot inside the element which groups all the drawn annotations. Now when i draw rectangles they stay inside the parent div and dragging the boxes is smooth.
Hello guys. When i use the slot="annotation" on the rect element the annotation doesnt go out of the canvas border. Furthermore the annotation doesn't move faster than my mouse cursor when selected. On the other hand the annotation i create my self with slot="drawing" on the rect element move way faster than my mouse cursor and they go outside the borders. Can anyone help me understand why this is happening?
<rect class="stroke" slot="drawing" />
<rect class="stroke" slot="annotation" x="100" y="100" width="100" height="100" />
The text was updated successfully, but these errors were encountered: