Skip to content

Commit

Permalink
Fix opacity slider not having a line
Browse files Browse the repository at this point in the history
  • Loading branch information
nea89o committed Apr 8, 2024
1 parent e496170 commit 90af748
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,10 @@ public void render(@NotNull GuiImmediateContext context) {
);
if (opacitySlider)
renderContext.drawColoredRect(
5 + 64 + 5 + valueOffset, 5 + 64 - c.getAlpha() / 4,
5 + 64 + valueOffset + opacityOffset, 5 + 64 - c.getAlpha() / 4 - 1, 0xFF000000
5 + 64 + 5 + valueOffset,
5 + 64 - c.getAlpha() / 4 - 1,
5 + 64 + valueOffset + opacityOffset,
5 + 64 - c.getAlpha() / 4, 0xFF000000
);
if (chromaSpeed > 0) {
renderContext.drawColoredRect(
Expand Down

0 comments on commit 90af748

Please sign in to comment.