Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TitleBar Sample mucking up App's TitleBar #556

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

michael-hawker
Copy link
Member

@michael-hawker michael-hawker commented Jul 1, 2024

Add internal check for TitleBar code so that it only resets the App's TitleBar if it was the initializer of the setup originally

Before this change, if you opened the TitleBar sample the App's TitleBar customizations would be reset. After this change, that no longer occurs.

Needs to be checked with WASDK as well as that the default behavior is uneffected.

… TitleBar if it was the initializer of the setup
@Arlodotexe
Copy link
Member

Tested on WinAppSDK, all is well. Merging.

@Arlodotexe Arlodotexe merged commit 18901b6 into main Jul 22, 2024
7 checks passed
@Arlodotexe Arlodotexe deleted the mhawker/titlebar-sample-fix branch July 22, 2024 21:35
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.

3 participants