mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix double click behaviour
This commit is contained in:
parent
1354e301c7
commit
9ea50148b8
1 changed files with 1 additions and 1 deletions
|
|
@ -188,8 +188,8 @@ void GUI::actMouse(Frame& frame, float delta, const CursorState& cursor) {
|
|||
doubleClicked = true;
|
||||
} else {
|
||||
pressed->click(cursorPos.x, cursorPos.y);
|
||||
doubleClickTimer = 0.0f;
|
||||
}
|
||||
doubleClickTimer = 0.0f;
|
||||
if (focus && focus != pressed) {
|
||||
focus->defocus();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue