Skip to content

Commit 71508be

Browse files
committed
Small change big effect: Instant hover responsiveness
1 parent 0cdcbc5 commit 71508be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/lambda/client/gui/AbstractLambdaGui.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ abstract class AbstractLambdaGui<S : SettingWindow<*>, E : Any> : GuiScreen() {
196196
}
197197
}
198198

199-
hoveredWindow?.onMouseInput(mousePos)
200199
super.handleMouseInput()
201200
updateSettingWindow()
202201
}
@@ -283,6 +282,8 @@ abstract class AbstractLambdaGui<S : SettingWindow<*>, E : Any> : GuiScreen() {
283282
drawTypedString()
284283

285284
GlStateUtils.depth(false)
285+
286+
hoveredWindow?.onMouseInput(getRealMousePos())
286287
}
287288

288289
private fun drawBackground(vertexHelper: VertexHelper, partialTicks: Float) {

0 commit comments

Comments
 (0)