Skip to content

Commit

Permalink
Fix overlay colors
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Dec 9, 2024
1 parent 74488a9 commit 6a659b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void onRenderGuiOverlay(RenderGuiOverlayEvent event) {
var olWidth = Math.min((ConfigHandler.CLIENT.CRAFT_QUEUE_OVERLAY_X.get() + ConfigHandler.CLIENT.CRAFT_QUEUE_OVERLAY_WIDTH.get()), width - 10);
var olHeight = Math.min((ConfigHandler.CLIENT.CRAFT_QUEUE_OVERLAY_Y.get() + ConfigHandler.CLIENT.CRAFT_QUEUE_OVERLAY_HEIGHT.get()), height - 10);
var backgroundColor = 0x015f5f5f; // TODO: get from config
var borderColor = 0x061f1f1f; // TODO: get from config
var borderColor = 0x021f1f1f; // TODO: get from config

graphics.fill(x, y, olWidth, olHeight, borderColor);
graphics.fill(x + 2, y + 2, olWidth - 2, olHeight - 2, backgroundColor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public void onRenderGuiOverlay(RenderGuiOverlayEvent event) {
}
var olWidth = Math.min((x + ConfigHandler.CLIENT.SHOPPING_LIST_OVERLAY_WIDTH.get()), width - 10);
var olHeight = Math.min((y + ConfigHandler.CLIENT.SHOPPING_LIST_OVERLAY_HEIGHT.get()), height - 10);
var backgroundColor = 0x5f5f5f5f; // TODO: get from config?
var borderColor = 0x1f1f1f1f; // TODO: get from config?
var backgroundColor = 0x015f5f5f; // TODO: get from config
var borderColor = 0x021f1f1f; // TODO: get from config

graphics.fill(x, y, olWidth, olHeight, borderColor);
graphics.fill(x + 2, y + 2, olWidth - 2, olHeight - 2, backgroundColor);
Expand Down

0 comments on commit 6a659b3

Please sign in to comment.