mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-24 01:09:23 +01:00
Fixed tooltips with custom text scale not snapping to the mouse correctly in their first displayed frame
This commit is contained in:
parent
e53d30e5ca
commit
bb9b322580
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ Improvements
|
|||
|
||||
Fixes
|
||||
- Fixed a crash if a paragraph has a link formatting code, but no font
|
||||
- Fixed tooltips with custom text scale not snapping to the mouse correctly in their first displayed frame
|
||||
|
||||
### MLEM.Extended
|
||||
Improvements
|
||||
|
|
|
@ -67,6 +67,7 @@ namespace MLEM.Ui.Elements {
|
|||
if (this.Parent != null)
|
||||
throw new NotSupportedException($"A tooltip shouldn't be the child of another element ({this.Parent})");
|
||||
base.ForceUpdateArea();
|
||||
this.SnapPositionToMouse();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
Loading…
Reference in a new issue