in dwarf mode, we must use lbut_down

develop
myk002 2022-09-16 13:49:46 -07:00
parent 089d2b6c33
commit 4800037ad3
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -101,7 +101,7 @@ static bool clicked = false;
static bool handle_click() {
int32_t x, y;
if (!enabler->tracking_on || !enabler->mouse_lbut || clicked ||
if (!enabler->tracking_on || !enabler->mouse_lbut_down || clicked ||
!Gui::getMousePos(x, y))
return false;
if (y == gps->dimy - 1 && x >= 1 && (size_t)x <= button_text.size()) {