Skip to content

Commit

Permalink
revert that solution because renderables are stupid
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <[email protected]>
  • Loading branch information
j10a1n15 committed Oct 1, 2024
1 parent 76a544a commit 7699b27
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import at.hannibal2.skyhanni.utils.renderables.Renderable
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiScreen
import net.minecraft.client.gui.ScaledResolution
import net.minecraft.client.renderer.GlStateManager
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import java.awt.Color

Expand Down Expand Up @@ -41,15 +40,8 @@ abstract class ElectionViewerScreen : GuiScreen() {
if (!isInGui()) return

display?.let {
val scale = guiWidth / 624f

GlStateManager.pushMatrix()
GlStateManager.scale(scale, scale, scale)

renderContent(it)
renderButtons()

GlStateManager.popMatrix()
}
}

Expand Down

0 comments on commit 7699b27

Please sign in to comment.