Skip to content

Refine TitleBar props defaults and handlers#19

Merged
xudafeng merged 1 commit into
mainfrom
codex/optimize-pr-#16
Dec 12, 2025
Merged

Refine TitleBar props defaults and handlers#19
xudafeng merged 1 commit into
mainfrom
codex/optimize-pr-#16

Conversation

@xudafeng

Copy link
Copy Markdown
Member

Summary

  • make TitleBar props optional and inline default values for a smoother TypeScript experience
  • memoize icon sizing and handler callbacks and use functional maximize toggle to avoid stale state
  • correct the draggable area class name for clarity

Testing

  • not run (not requested)

Codex Task

@xudafeng
xudafeng requested a review from z0gSh1u December 12, 2025 06:37
@xudafeng
xudafeng merged commit c1e5b44 into main Dec 12, 2025
2 checks passed
@xudafeng
xudafeng deleted the codex/optimize-pr-#16 branch December 12, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant