From b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f Mon Sep 17 00:00:00 2001 From: Moo2meenn <67310794+Moo2meenn@users.noreply.github.com> Date: Wed, 27 Apr 2022 23:54:07 +0300 Subject: Button Height Moving the Screenshot Chat and Search buttons 1 pixel up to match the other distances --- .../kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt') diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt b/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt index ff51a1e..e72dbe1 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt +++ b/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt @@ -11,7 +11,7 @@ import net.minecraft.client.renderer.GlStateManager import net.minecraft.util.ResourceLocation class ScreenshotButton : - CleanButton(448318, { UResolution.scaledWidth - 28 }, { UResolution.scaledHeight - 27 }, 12, 12, "", + CleanButton(448318, { UResolution.scaledWidth - 28 }, { UResolution.scaledHeight - 26 }, 12, 12, "", { RenderType.NONE }) { override fun onMousePress() { @@ -33,4 +33,4 @@ class ScreenshotButton : Gui.drawModalRectWithCustomSizedTexture(xPosition + 1, yPosition + 1, 0f, 0f, 10, 10, 10f, 10f) } } -} \ No newline at end of file +} -- cgit