Added icon for last modified sorting type
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user