r/Supernote_dev • Official • May 15 '26

[ Removed by moderator ]

[removed] — view removed post

27 Upvotes

58 comments sorted by

View all comments

1

u/AdNew2316 Jun 05 '26 edited Jun 06 '26

Regarding the fix on the "coordinates retrieved through the API now update after moving an element" — thanks!

At first I thought it didn't work cause I was using getLassoElements: after dragging a picture, the lassoed element still reports the pre-move picture.rect. If I use getElements then it works as you reported. Could the fix be applied to getLassoElements too? Or at least let the docs note that lassoed elements only reflect the text at the moment where the lasso was "taken"?

1

u/Dunn-sn Official Jun 06 '26

Thanks for the feedback. Sorry about that. At the moment, coordinate updates after dragging are only supported for geometric shapes and text boxes. For other element types, the coordinate calculation and transformation are relatively more complex, so support has not been completed yet. I will add support for those as soon as possible and fix the issue where their coordinates are not being updated.

1

u/AdNew2316 Jun 06 '26

Not a priority, I report it but I found an alternative, thanks for coming back to me!