mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
controls menu fix
This commit is contained in:
parent
180ad0a605
commit
8d1f6e7eb7
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ void GUI::actMouse(float delta) {
|
||||||
if (focus != pressed) {
|
if (focus != pressed) {
|
||||||
focus = pressed;
|
focus = pressed;
|
||||||
focus->focus(this);
|
focus->focus(this);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this->hover == nullptr && focus) {
|
if (this->hover == nullptr && focus) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue