mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update uinode hover semantics
This commit is contained in:
parent
78e0ac5a95
commit
79e4a28b4d
2 changed files with 2 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue