update uinode hover semantics

This commit is contained in:
MihailRis 2025-12-10 20:49:50 +03:00
parent 78e0ac5a95
commit 79e4a28b4d
2 changed files with 2 additions and 5 deletions

View file

@ -135,7 +135,7 @@ void GUI::actMouse(float delta, const CursorState& cursor) {
if (this->hover && this->hover != hover) {
this->hover->setHover(false);
}
if (hover) {
if (hover && hover != this->hover) {
hover->setHover(true);
int scroll = input.getScroll();