neuroanatomy / BrainBox

BrainBox is a web application that lets you annotate and segment 3D brain imaging data in real time, collaboratively.
https://brainbox.pasteur.fr
Other
96 stars 47 forks source link

Text annotations position is shifted (PR #342) #368

Open r03ert0 opened 1 year ago

r03ert0 commented 1 year ago

In the PR #342 (@dhovart),

Observed: I enter a text annotation "corpus callosum" on top of a red scribble. When I change to full screen mode, the position of the text annotation is shifted.

Expected: The expected behaviour is the one from brainbox.pasteur.fr: the annotation is in the same position fullscreen mode or not.

Screenshot 2023-09-26 at 18 01 34
denishov commented 1 year ago

I've noticed the bug derives from a bug already present on main. When redimensioning the left pane, text annotations shift places as you drag along. The vector layer needs to be scaled the same as the main canvas, for that a new development must be made.

denishov commented 1 year ago

Ignore previous comment, bugs were not related, I did not look into details even if a similar bug is present on main.