vivarium icon indicating copy to clipboard operation
vivarium copied to clipboard

The view target box isn't a good log of view position

Open inclement opened this issue 4 years ago • 0 comments

The current target box information in each view stores its expected bounds, but this doesn't work well for floating views.

We should probably instead/additionally store the target view box in output-relative coords (i.e. 0-1 on each axis), which can then be used to reposition/resize it appropriately when the output is changed.

This needs more thought, but right now floating views are probably not treated correctly on workspace rearrange with multiple outputs.

inclement avatar Sep 25 '21 17:09 inclement