fix bcd list being scrollable when clicking out side the list
@@ -327,6 +327,14 @@ public class BlockChangeDetectorScreen extends AbstractContainerScreen<BlockChan
applyScrollLimits();
}
+ @Override
+ public boolean mouseClicked(double mouseX, double mouseY, int button) {
+ if (mouseY < top || mouseY > bottom)
+ return false;
+
+ return super.mouseClicked(mouseX, mouseY, button);
+ }
+
@Override
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) {
if (getContentHeight() < height)
