mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
66 stars 20 forks source link

Don't let the "TrackScheme Branch" Window Mess up the TimepointModel #201

Closed maarzt closed 1 year ago

maarzt commented 1 year ago

Pairing a TrackScheme Branch" window with a BDV window led to wrong behaviour.

Double-clicking a spot in the BDV window should cause the paired "TrackScheme Branch" window to navigate to this spot. This first part worked fine. But the "TrackScheme Branch" window triggered a change of the TimepointModel, which causes the BDV window to jump to a different timepoint. This jump to a different timepoint is not intentional and annoying.

This PR fixes the problem, by improving how the TrackSchemePanel sets the timepoint. Please have a look at the commit: a7af1762569103d8bcdbaa4c84ee14f354d3af7c