GP-6299: Bail from getPreviousLayout if there are no layouts.

This commit is contained in:
Dan
2026-01-12 19:53:57 +00:00
parent 522ef08c0e
commit 02c51234f4
@@ -196,6 +196,9 @@ public class AnchoredLayoutHandler {
if (layout != null) {
return new AnchoredLayout(layout, index, yPos - layout.getHeight());
}
if (layouts.isEmpty()) {
return null;
}
}
return null;
}