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

This reverts commit 02c51234f4.
This commit is contained in:
Ryan Kurtz
2026-01-13 09:38:34 -05:00
parent e3dc18ee70
commit 2c99fbe7f6
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -196,9 +196,6 @@ public class AnchoredLayoutHandler {
if (layout != null) {
return new AnchoredLayout(layout, index, yPos - layout.getHeight());
}
if (layouts.isEmpty()) {
return null;
}
}
return null;
}