v0.9.2: improved logic for buttons inside of scroll areas

This commit is contained in:
Evan Debenham
2021-01-17 18:16:27 -05:00
parent 5be3fe7ba0
commit 412ea03892
6 changed files with 21 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ public class ScrollArea extends PointerArea {
boolean hit = event != null && target.overlapsScreenPoint( (int)event.pos.x, (int)event.pos.y );
if (!isActive()) {
return (hit && blockWhenInactive);
return (hit && blockLevel == ALWAYS_BLOCK);
}
if (hit){