Skip to content

Conversation

@singhashish-wpf
Copy link
Contributor

Fixes #6063 (comment)

Main PR
#5931 #5932

Description

Merge conflict in PopupControlService resulted in bad merge due to changes in same files being pushed one before another.
This additive PR fixes the bad merge problem by including both the resultant eventual changes.

Customer Impact

Regression

No

Testing

Build and code verification

Risk

Low

@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Feb 7, 2022
@ghost ghost requested review from SamBent, fabiant3 and ryalanms February 7, 2022 03:41
@singhashish-wpf singhashish-wpf changed the title Fix erge errors for #5931 and #5932 Fix merge errors for #5931 and #5932 Feb 7, 2022
@singhashish-wpf singhashish-wpf marked this pull request as ready for review February 7, 2022 10:50
@singhashish-wpf singhashish-wpf requested a review from a team as a code owner February 7, 2022 10:50
@singhashish-wpf singhashish-wpf merged commit 869d4e0 into dotnet:main Feb 7, 2022
dipeshmsft pushed a commit that referenced this pull request Feb 7, 2022
…6063)

* ToolTips in popups (or any context where capture is active) (#5931)

* make SafeArea check work when capture is active

* Update and sync changes with main and #5932

Co-authored-by: Ashish Kumar Singh <SINGHASHISH@MICROSOFT.COM>

* Fix merge errors for #5931 and #5932 (#6078)

* update to make same changes as 5931

Co-authored-by: Sam Bent <sambent@microsoft.com>

// if the safe area is valid, see if it still contains the mouse point
return !SafeArea.ContainsPoint(mouseReport.InputSource, mouseReport.X, mouseReport.Y);
return !(SafeArea?.ContainsMousePoint() ?? true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In light of the null check at 889, you can simplify this to

    return !SafeArea.ContainsMousePoint();

@ghost ghost locked as resolved and limited conversation to collaborators Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants