fix hover effect of GitHub link

This commit is contained in:
LabyStudio
2022-06-17 07:17:44 +02:00
parent daf317291d
commit ba85922102
@@ -69,7 +69,7 @@ export default class GuiMainMenu extends GuiScreen {
// Draw copyright
let mouseOver = mouseX > this.width / 2 + 70 && mouseY > this.height - 20;
this.drawRightString(stack, "GitHub @LabyStudio/js-minecraft", this.width - 2, this.height - 10, mouseOver ? 0x0000FFFF : 0xFFFFFFff);
this.drawRightString(stack, "GitHub @LabyStudio/js-minecraft", this.width - 2, this.height - 10, mouseOver ? 0xFF00FFFF : 0xFFFFFFff);
// Draw buttons
super.drawScreen(stack, mouseX, mouseY, partialTicks);