diff options
| author | shedaniel <daniel@shedaniel.me> | 2023-06-13 00:08:24 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2023-06-13 00:08:24 +0800 |
| commit | 59b1148af5084214255682b3e57631324f040ab1 (patch) | |
| tree | cbbcea7c2f8e9f60aa4688821efd7e5f70d3eb5d /runtime/src/main/java/me | |
| parent | 94e3157cf5a926725ccda0cd19c2dc5470b6fecc (diff) | |
| download | RoughlyEnoughItems-59b1148af5084214255682b3e57631324f040ab1.tar.gz RoughlyEnoughItems-59b1148af5084214255682b3e57631324f040ab1.tar.bz2 RoughlyEnoughItems-59b1148af5084214255682b3e57631324f040ab1.zip | |
Fix inventory highlighter
Diffstat (limited to 'runtime/src/main/java/me')
6 files changed, 11 insertions, 11 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryHighlighter.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryHighlighter.java index 581160c65..72e579ade 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryHighlighter.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryHighlighter.java @@ -41,17 +41,17 @@ public class EntryHighlighter { if (!slot.hasItem() || !EntryListSearchManager.INSTANCE.matches(EntryStacks.of(slot.getItem()))) { graphics.pose().pushPose(); graphics.pose().translate(0, 0, 500f); - graphics.fillGradient(x + slot.x, y + slot.y, x + slot.x + 16, y + slot.y + 16, 0xdc202020, 0xdc202020, 0); + graphics.fillGradient(x + slot.x, y + slot.y, x + slot.x + 16, y + slot.y + 16, 0xdc202020, 0xdc202020); graphics.pose().popPose(); } else { graphics.pose().pushPose(); graphics.pose().translate(0, 0, 200f); - graphics.fillGradient(x + slot.x, y + slot.y, x + slot.x + 16, y + slot.y + 16, 0x345fff3b, 0x345fff3b, 0); + graphics.fillGradient(x + slot.x, y + slot.y, x + slot.x + 16, y + slot.y + 16, 0x345fff3b, 0x345fff3b); - graphics.fillGradient(x + slot.x - 1, y + slot.y - 1, x + slot.x, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b, 0); - graphics.fillGradient(x + slot.x + 16, y + slot.y - 1, x + slot.x + 16 + 1, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b, 0); - graphics.fillGradient(x + slot.x - 1, y + slot.y - 1, x + slot.x + 16, y + slot.y, 0xff5fff3b, 0xff5fff3b, 0); - graphics.fillGradient(x + slot.x - 1, y + slot.y + 16, x + slot.x + 16, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b, 0); + graphics.fillGradient(x + slot.x - 1, y + slot.y - 1, x + slot.x, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b); + graphics.fillGradient(x + slot.x + 16, y + slot.y - 1, x + slot.x + 16 + 1, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b); + graphics.fillGradient(x + slot.x - 1, y + slot.y - 1, x + slot.x + 16, y + slot.y, 0xff5fff3b, 0xff5fff3b); + graphics.fillGradient(x + slot.x - 1, y + slot.y + 16, x + slot.x + 16, y + slot.y + 16 + 1, 0xff5fff3b, 0xff5fff3b); graphics.pose().popPose(); } diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/InputMethodWatcher.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/InputMethodWatcher.java index 614085ddd..c8a627cfe 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/InputMethodWatcher.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/InputMethodWatcher.java @@ -85,7 +85,7 @@ public class InputMethodWatcher implements HintProvider { @Override public Color getColor() { - return Color.ofTransparent(0x50ffadca); + return Color.ofTransparent(0xffffadca); } @Override diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/PluginStageExecutionWatcher.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/PluginStageExecutionWatcher.java index 539d7ab76..62ed09b6c 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/PluginStageExecutionWatcher.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/PluginStageExecutionWatcher.java @@ -220,7 +220,7 @@ public class PluginStageExecutionWatcher implements HintProvider { @Override public Color getColor() { - return Color.ofTransparent(0x50ff1500); + return Color.ofTransparent(0xffff1500); } @Override diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchBarHighlightWatcher.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchBarHighlightWatcher.java index 3bd2c1d5b..61c8b59c5 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchBarHighlightWatcher.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchBarHighlightWatcher.java @@ -49,7 +49,7 @@ public class SearchBarHighlightWatcher implements HintProvider { @Override public Color getColor() { - return Color.ofTransparent(0x50f7ed23); + return Color.ofTransparent(0xfff7ed23); } @Override diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterPrepareWatcher.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterPrepareWatcher.java index f2acdcc80..e2095d258 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterPrepareWatcher.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterPrepareWatcher.java @@ -81,7 +81,7 @@ public class SearchFilterPrepareWatcher implements HintProvider { @Override public Color getColor() { - return Color.ofTransparent(0x50de38ff); + return Color.ofTransparent(0xffde38ff); } @Override diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterWatcher.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterWatcher.java index 37aaab934..08a3ed4ae 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterWatcher.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/SearchFilterWatcher.java @@ -75,7 +75,7 @@ public class SearchFilterWatcher implements HintProvider { @Override public Color getColor() { - return Color.ofTransparent(0x5003fc24); + return Color.ofTransparent(0xff03fc24); } @Override |
