From d1315e934aa26a49ac5dd598090cc3ec9b734ad2 Mon Sep 17 00:00:00 2001 From: Bubio Date: Sun, 26 Dec 2021 16:05:39 +0900 Subject: [PATCH] Fixed issue #3788 --- Source/DiabloUI/diabloui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DiabloUI/diabloui.cpp b/Source/DiabloUI/diabloui.cpp index 19589d06c..da7d43e80 100644 --- a/Source/DiabloUI/diabloui.cpp +++ b/Source/DiabloUI/diabloui.cpp @@ -921,7 +921,7 @@ Uint32 dbClickTimer; bool HandleMouseEventList(const SDL_Event &event, UiList *uiList) { - if (event.type != SDL_MOUSEBUTTONDOWN || event.button.button != SDL_BUTTON_LEFT) + if (event.type != SDL_MOUSEBUTTONUP || event.button.button != SDL_BUTTON_LEFT) return false; std::size_t index = uiList->indexAt(event.button.y);