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
There are a few other options as well, but that seemed best (even if it may not be clear why "visibility" is used instead of the normal "display:none" ~ which is why i'm making this comment :3)
visibility:hidden does not remove it from document flow (eg, does not collapse the space the element takes up - which doesn't matter as we are using "position:absolute" anyway) - if display:none is used, ".position()" fails.
Other options:
Quickly toggling the display of the container (may cause redraws or flicker)
Getting the data from the css instead of from ".position()" - css is only available if a note is dragged/resized.
Creating notes will toggle the visibility of all notes when the mouse is released.
Clicking anywhere after pressing N will always create a note, unconditionally (eg. outside the image, when you're trying to click the Save button, etc).
That will cause the saved note to be saved at the wrong coordinates (only visible after refreshing the page).
The text was updated successfully, but these errors were encountered: