Skip to content

Better UX for initial game sizing, focusing on selected nodes#856

Open
tturocy wants to merge 10 commits into
masterfrom
issue_569
Open

Better UX for initial game sizing, focusing on selected nodes#856
tturocy wants to merge 10 commits into
masterfrom
issue_569

Conversation

@tturocy
Copy link
Copy Markdown
Member

@tturocy tturocy commented Apr 22, 2026

This implements several related minor but useful UX improvements for game trees:

  • Large trees are initially zoomed to a reasonable size (clamped not to be too small)
  • The root node is ensured to be visible when the game is first displayed
  • Pressing the space bar to ensure the selected node is visible now works correctly (by fixing the event type for keypresses)
  • The initial size of the frame for the game window is now adaptive relative to display size.

Closes #569.

@edwardchalstrey1
Copy link
Copy Markdown
Member

Screenshot 2026-04-30 at 10 54 42
  • I have tested this and the space bar feature works for me.
  • The root node for a large game just about visible when opening full screen
  • Initial zoom looks good to me, as does game window frame on different screen sizes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve behaviour of making nodes visible / scrolling the extensive game display

2 participants