diff options
author | Moo2meenn <67310794+Moo2meenn@users.noreply.github.com> | 2022-05-06 18:46:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 18:46:38 +0300 |
commit | 1046d78d70f074074dcf5c4ce522c8dc83654242 (patch) | |
tree | 287cbc0388287b18848f216568ccec07591a972c | |
parent | b9de098b8488ff92b4215efe04b05c705672957c (diff) | |
parent | b8ee6535e3c5b1618c295e5ad1e3e5b189d84b7f (diff) | |
download | Chatting-1046d78d70f074074dcf5c4ce522c8dc83654242.tar.gz Chatting-1046d78d70f074074dcf5c4ce522c8dc83654242.tar.bz2 Chatting-1046d78d70f074074dcf5c4ce522c8dc83654242.zip |
Merge pull request #2 from Moo2meenn/patch-2
Button Height
-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 +} |