Added icon for last modified sorting type
This commit is contained in:
@@ -24,8 +24,12 @@ public class SideButtonGridSortingType extends SideButton {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void drawButtonIcon(int x, int y) {
|
protected void drawButtonIcon(int x, int y) {
|
||||||
|
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);
|
gui.drawTexture(x, y, grid.getSortingType() * 16, 32, 16, 16);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed() {
|
public void actionPerformed() {
|
||||||
|
|||||||
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