aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-16 16:27:15 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-16 16:27:15 +0700
commit4e587bc97c3aee3c3458a6ac60a43122f7c7971e (patch)
treeab9df90c3b5763d60ea702fd13f15461bbb56421 /src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt
parent42f8aa3024772e708143d49355130ef2a7999243 (diff)
downloadChatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.tar.gz
Chatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.tar.bz2
Chatting-4e587bc97c3aee3c3458a6ac60a43122f7c7971e.zip
new: remove scroll bar
new: chat background color fix: fix chat tab buttons not having bordered text
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.kt3
1 files changed, 2 insertions, 1 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 379444c..ff51a1e 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,8 @@ 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 - 27 }, 12, 12, "",
+ { RenderType.NONE }) {
override fun onMousePress() {
val chat = Minecraft.getMinecraft().ingameGUI.chatGUI