magland / figurl-franklab-views

0 stars 0 forks source link

Add button to de-sync animation playback from the global time state #14

Open jsoules opened 1 year ago

jsoules commented 1 year ago

Inspired by issue #114 from the spikesortingview project.

Presumably this would work something like the way that desynced unit selection state works between UnitSelectionContext and LockableSelectUnitsWidget in figurl-spike-sorting-views. This would involve having a hook that chooses between the local state and the global state, and syncs the local state to the global state when decoupling is turned off.

If implemented, need to check fairly heavily against the base animation controls. Also need to decide where this code lives (presumably with the animation, but that itself probably ought to be moved to somewhere more general).

jsoules commented 1 year ago

Useful link: https://www.figurl.org/f?v=gs://figurl/spikesortingview-8&d=sha1://4d67715f9bf5e102aab3769886a56e63519c2319&label=&s={}