mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-29 15:58:33 +01:00
fixed elements' hover states being judged by their full areas
This commit is contained in:
parent
401a89e295
commit
84d5d3ab18
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ namespace MLEM.Ui.Elements {
|
||||||
if (element != null)
|
if (element != null)
|
||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
return this.CanBeMoused && this.Area.Contains(position) ? this : null;
|
return this.CanBeMoused && this.DisplayArea.Contains(position) ? this : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AndChildren(Action<Element> action) {
|
public void AndChildren(Action<Element> action) {
|
||||||
|
|
Loading…
Reference in a new issue