Fixed Scrolling issue on Tabbed Screen
This commit is contained in:
parent
8d0f312dc5
commit
7546efe097
2 changed files with 30 additions and 6 deletions
|
@ -239,10 +239,13 @@ public class Container extends LayoutComponent<Container.ContainerRenderer, Cont
|
|||
@Override
|
||||
public boolean isMouseOver(double x, double y) {
|
||||
if (visible) {
|
||||
boolean res = false;
|
||||
for (var child : children) {
|
||||
return child.isMouseOver(x, y);
|
||||
res |= child.isMouseOver(x, y);
|
||||
}
|
||||
|
||||
return res || relativeBounds.contains(x, y);
|
||||
}
|
||||
return relativeBounds.contains(x, y);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue