From ce21d45b8036460324114fd58fb7b053ba5503c1 Mon Sep 17 00:00:00 2001 From: Moo2meenn <67310794+Moo2meenn@users.noreply.github.com> Date: Wed, 27 Apr 2022 23:53:30 +0300 Subject: Button Height Moving the Screenshot Chat and Search buttons 1 pixel up to match the other distances --- src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt b/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt index 71633a3..819eac0 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt +++ b/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt @@ -47,7 +47,7 @@ class SearchButton : 69420, Minecraft.getMinecraft().fontRendererObj, UResolution.scaledWidth * 4 / 5 - 60, - UResolution.scaledHeight - 27, + UResolution.scaledHeight - 26, UResolution.scaledWidth / 5, 12 ) { @@ -67,4 +67,4 @@ class SearchButton : } } } -} \ No newline at end of file +} -- cgit 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') 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