mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Merge remote-tracking branch 'origin/GP-755-dragonmacher-fg-clipping'
(Closes #1008)
This commit is contained in:
@@ -141,6 +141,7 @@ public class FGVertexListingPanel extends ListingPanel {
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize() {
|
||||
|
||||
Dimension preferredSize = super.getPreferredSize();
|
||||
if (preferredSize.equals(lastParentPreferredSize) && preferredSizeCache != null) {
|
||||
return preferredSizeCache;
|
||||
@@ -164,8 +165,8 @@ public class FGVertexListingPanel extends ListingPanel {
|
||||
|
||||
private List<Layout> getAllLayouts(LayoutModel layoutModel) {
|
||||
List<Layout> list = new ArrayList<>();
|
||||
Layout layout = layoutModel.getLayout(BigInteger.ZERO);
|
||||
BigInteger index = BigInteger.ONE;
|
||||
BigInteger index = BigInteger.ZERO;
|
||||
Layout layout = layoutModel.getLayout(index);
|
||||
while (layout != null) {
|
||||
list.add(layout);
|
||||
index = layoutModel.getIndexAfter(index);
|
||||
|
||||
Reference in New Issue
Block a user