Closed tom-anders closed 1 month ago
Two new commits:
1) Move the tree view to a dedicated file as discussed 2) Fix the "show Comments" and "Toggle move annotations" toggles not taking immediate effect (mentioned on discord here: https://discord.com/channels/280713822073913354/807722604478988348/1295982127741145182)
Nice! Before I forget, I noticed another bug with the new tree: hiding a variation not anymore works if you open the context menu on any child but the first one.
Ah good point, let's keep this PR open then, I'll push a fix and a regression test for that
Fixed :)
Note: Most of the file should be moved to something like
src/lib/view/pgn/tree_view.dart
, but I have not done that yet to make reviewing easier. I'd push a commit that does this once the rest of the code looks good to you