diff options
author | Moo2meenn <67310794+Moo2meenn@users.noreply.github.com> | 2022-04-27 23:54:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 23:54:07 +0300 |
commit | b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f (patch) | |
tree | 42fd0c803e9a6524a70d56c6afd144e21a06fc81 /src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt | |
parent | b8aa42e5564714a4fbf611ccae42ed3b6905405c (diff) | |
download | Chatting-b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f.tar.gz Chatting-b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f.tar.bz2 Chatting-b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f.zip |
Button Height
Moving the Screenshot Chat and Search buttons 1 pixel up to match the other distances
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 +} |