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

Improved and fix floating window activation and activation pane #415

Merged
merged 3 commits into from
Dec 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add code comment
  • Loading branch information
Wenveo committed Dec 26, 2022
commit cbf6f925c29a42597905a36ac8d0a8e31a193721
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ private void ActiveOfSinglePane(bool isActive)
{
layoutDocumentPane.SelectedContent.IsActive = isActive;
}
//
// When the floating tool window is mixed with the floating document window
// and the document pane in the floating document window is dragged out.

// Only the Tool panes is left in the floating document window.
// The Children Count is greater than 0 and the Selected Content is null.

// Then we only need to activate the last active content.
else
{
ActiveLastActivationOfItems(isActive);
Expand Down