1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-24 01:09:23 +01:00

Fixed delayed tooltips sometimes displaying in the wrong location for one frame

This commit is contained in:
Ell 2022-04-05 14:54:20 +02:00
parent 393bd9ffe5
commit 4854d420e0
2 changed files with 2 additions and 0 deletions

View file

@ -72,6 +72,7 @@ Fixes
- Fixed dropdowns with some non-selectable children failing to navigate when using gamepad controls
- Fixed UiMetrics.ForceAreaUpdateTime being inaccurate for nested elements
- Fixed tooltips sometimes ignoring manually set IsHidden values
- Fixed delayed tooltips sometimes displaying in the wrong location for one frame
Removals
- Marked StyleProp equality members as obsolete

View file

@ -79,6 +79,7 @@ namespace MLEM.Ui.Elements {
if (this.delayCountdown <= TimeSpan.Zero) {
this.IsHidden = false;
this.UpdateAutoHidden();
this.SnapPositionToMouse();
}
} else {
this.UpdateAutoHidden();