Fixed "Clear" and "Create Pattern" buttons not working correctly when using Grid Filter tabs, fixes #983
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- Fixed Processing Pattern Encoder and Reader recipes not supporting oredict workbench and chest (VT-14)
|
- Fixed Processing Pattern Encoder and Reader recipes not supporting oredict workbench and chest (VT-14)
|
||||||
- Fixed network nodes not saving correctly (raoulvdberge)
|
- Fixed network nodes not saving correctly (raoulvdberge)
|
||||||
- Fixed network nodes not respecting redstone mode (raoulvdberge)
|
- Fixed network nodes not respecting redstone mode (raoulvdberge)
|
||||||
|
- Fixed "Clear" and "Create Pattern" buttons not working correctly when using Grid Filter tabs (raoulvdberge)
|
||||||
|
|
||||||
### 1.4
|
### 1.4
|
||||||
- Added Security Manager (raoulvdberge)
|
- Added Security Manager (raoulvdberge)
|
||||||
|
|||||||
@@ -514,8 +514,8 @@ public class GuiGrid extends GuiBase implements IGridDisplay {
|
|||||||
updateJEI();
|
updateJEI();
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean clickedClear = clickedButton == 0 && isOverClear(mouseX - guiLeft, mouseY - guiTop + getTabDelta());
|
boolean clickedClear = clickedButton == 0 && isOverClear(mouseX - guiLeft, mouseY - guiTop);
|
||||||
boolean clickedCreatePattern = clickedButton == 0 && isOverCreatePattern(mouseX - guiLeft, mouseY - guiTop + getTabDelta());
|
boolean clickedCreatePattern = clickedButton == 0 && isOverCreatePattern(mouseX - guiLeft, mouseY - guiTop);
|
||||||
|
|
||||||
if (clickedCreatePattern) {
|
if (clickedCreatePattern) {
|
||||||
BlockPos gridPos = ((NetworkNodeGrid) grid).getPos();
|
BlockPos gridPos = ((NetworkNodeGrid) grid).getPos();
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
"model": "cube",
|
"model": "cube",
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "refinedstorage:blocks/side",
|
"particle": "refinedstorage:blocks/side",
|
||||||
"north": "refinedstorage:blocks/machine_casing",
|
"north": "refinedstorage:blocks/interface_disconnected",
|
||||||
"east": "refinedstorage:blocks/grid_left",
|
"east": "refinedstorage:blocks/side",
|
||||||
"south": "refinedstorage:blocks/grid_back",
|
"south": "refinedstorage:blocks/side",
|
||||||
"west": "refinedstorage:blocks/grid_right",
|
"west": "refinedstorage:blocks/side",
|
||||||
"up": "refinedstorage:blocks/grid_top",
|
"up": "refinedstorage:blocks/side",
|
||||||
"down": "refinedstorage:blocks/bottom"
|
"down": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
|
|||||||
Reference in New Issue
Block a user