1
0
Fork 0

Change: Close error message window on left click

pull/13835/head
Koen Bussemaker 2025-03-16 16:34:28 +01:00
parent f214c81e97
commit db56a4f723
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ public:
void OnMouseLoop() override
{
/* Disallow closing the window too easily, if timeout is disabled */
if (_right_button_down && !this->is_critical) this->Close();
if ((_right_button_down || _left_button_down) && !this->is_critical) this->Close();
}
void Close([[maybe_unused]] int data = 0) override