Closed joshmoore closed 1 year ago
@will-moore : this was something else I ran into while trying to create https://github.com/ome/omero-figure/issues/319#issuecomment-454730333
If I were to choose x
or y
then the label would show the current coordinate of the top-left corner of the viewport?
This is dynamic, since it can change when you change the shape of the panel. E.g if you resize a panel from a horizontal rectangle to a vertical rectangle then the top-left corner is at a different point (even if you don't pan). Would you want a single label for coordinates e.g. x: 100, y: 250
? The current behaviour for T-index is to show a single number (e.g. 10
not T: 10
) so if we did the same for Z then you could end up with labels (one per row) like:
10
5
instead of
T: 10
Z: 5
So maybe we need to re-think the existing T-index behaviour.
Z: #
seems like a good start. X/Y is certainly trickier, and the resize update would be necessary, so if that's not possible, I'd file it as a more advanced issue. But yes, having ($x, $y)
in one of the corners would be helpful.
When zooming and when showing multiple Z slices (see recent 1000+ z-slide volumes) being able to label with the xyz coordinates would be useful.