Skip to content

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

Merged
tturocy merged 11 commits into
masterfrom
issue_569
May 27, 2026
Merged

Better UX for initial game sizing, focusing on selected nodes#856
tturocy merged 11 commits into
masterfrom
issue_569

Conversation

@tturocy

@tturocy tturocy commented Apr 22, 2026

Copy link
Copy Markdown
Member

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

# Conflicts:
#	ChangeLog
@tturocy
tturocy merged commit 55c68be into master May 27, 2026
26 checks passed
@tturocy
tturocy deleted the issue_569 branch May 27, 2026 16:38
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