Added icon for last modified sorting type

This commit is contained in:
raoulvdberge
2017-11-26 11:56:16 +01:00
parent c7969c29ca
commit e5f59b88a6
2 changed files with 5 additions and 1 deletions

View File

@@ -24,7 +24,11 @@ public class SideButtonGridSortingType extends SideButton {
@Override
protected void drawButtonIcon(int x, int y) {
gui.drawTexture(x, y, grid.getSortingType() * 16, 32, 16, 16);
if (grid.getSortingType() == IGrid.SORTING_TYPE_LAST_MODIFIED) {
gui.drawTexture(x, y, 48, 48, 16, 16);
} else {
gui.drawTexture(x, y, grid.getSortingType() * 16, 32, 16, 16);
}
}
@Override

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB