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

Fixed Validation Tooltip that never shows up. #3804

Merged
merged 1 commit into from May 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/MahApps.Metro/Controls/CustomValidationPopup.cs
Expand Up @@ -153,7 +153,6 @@ private void CustomValidationPopup_Loaded(object sender, RoutedEventArgs e)
this.metroContentControl = adornedElement.TryFindParent<MetroContentControl>();
if (this.metroContentControl != null)
{
canShow = !this.metroContentControl.TransitionsEnabled;
this.metroContentControl.TransitionStarted += this.OnTransitionStarted;
this.metroContentControl.TransitionCompleted += this.OnTransitionCompleted;
}
Expand Down Expand Up @@ -373,7 +372,7 @@ private void RefreshPosition()

private void SetTopmostState(bool isTop)
{
// Dont apply state if its the same as incoming state
// Don’t apply state if it’s the same as incoming state
if (this.appliedTopMost.HasValue && this.appliedTopMost == isTop)
{
return;
Expand Down Expand Up @@ -421,4 +420,4 @@ private void SetTopmostState(bool isTop)
#pragma warning restore 618
}
}
}
}