diff options
author | Jacob <42344274+jacobk999@users.noreply.github.com> | 2022-02-03 11:07:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 23:07:10 +0700 |
commit | 1307b6c8f8f7a4aa4d1fd9781cddb5edd0c9f349 (patch) | |
tree | 71fa7f7a435a7ca3f460eddd8c057cccad3cd154 /src/main/java | |
parent | 4e587bc97c3aee3c3458a6ac60a43122f7c7971e (diff) | |
download | Chatting-1307b6c8f8f7a4aa4d1fd9781cddb5edd0c9f349.tar.gz Chatting-1307b6c8f8f7a4aa4d1fd9781cddb5edd0c9f349.tar.bz2 Chatting-1307b6c8f8f7a4aa4d1fd9781cddb5edd0c9f349.zip |
Improved Screenshotting (#4)
* make copy button 9x9
* make font scale 2x and image width max text width in screenshots
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java index d6bc8f5..9c292c6 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java +++ b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java @@ -204,7 +204,7 @@ public abstract class GuiNewChatMixin extends Gui implements GuiNewChatHook { GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f); chatting$right = right; Gui.drawModalRectWithCustomSizedTexture(right + 1, top, 0f, 0f, 9, 9, 9, 9); - drawRect(right + 1, top, right + 11, top + 9, (((right + ModCompatHooks.getXOffset() + 3) <= (UMouse.getScaledX() / mc.ingameGUI.getChatGUI().getChatScale()) && (right + ModCompatHooks.getXOffset()) + 13 > (UMouse.getScaledX() / mc.ingameGUI.getChatGUI().getChatScale())) ? CleanButton.Companion.getHoveredColor() : CleanButton.Companion.getColor())); + drawRect(right + 1, top, right + 10, top + 9, (((right + ModCompatHooks.getXOffset() + 3) <= (UMouse.getScaledX() / mc.ingameGUI.getChatGUI().getChatScale()) && (right + ModCompatHooks.getXOffset()) + 13 > (UMouse.getScaledX() / mc.ingameGUI.getChatGUI().getChatScale())) ? CleanButton.Companion.getHoveredColor() : CleanButton.Companion.getColor())); GlStateManager.disableAlpha(); GlStateManager.disableRescaleNormal(); GlStateManager.disableLighting(); |