Skip to content

Commit

Permalink
resize the scrollbar with the upgrade panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari023 committed Jul 5, 2024
1 parent caec994 commit c778196
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- resize the scrollbar with the upgrade panel
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private boolean isDisabledSlotEmpty(AppEngSlot slot) {
public void setMaxRows(int rows) {
maxRows = rows;
setScrollbarRange();
scrollbar.setHeight(getVisibleSlotCount() * SLOT_SIZE - 2);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
},
"upgradeScrollbar": {
"right": -17,
"top": 6,
"height": 34
"top": 6
},
"upgrades": {
"left": -9999,
Expand Down

0 comments on commit c778196

Please sign in to comment.