FIX: [STUDIO-2511] handle dbl click in ComboBox

Change-Id: I27075e43de4a78446972806b57771f0880677935
This commit is contained in:
chunmao.guo 2023-03-17 16:29:56 +08:00 committed by Lane.Wei
parent 1966946256
commit c44a240ec0
4 changed files with 7 additions and 2 deletions

View file

@ -157,7 +157,7 @@ bool DropDown::HasDismissLongTime()
{
auto now = boost::posix_time::microsec_clock::universal_time();
return !IsShown() &&
(now - dismissTime).total_milliseconds() >= 200;
(now - dismissTime).total_milliseconds() >= 20;
}
void DropDown::paintEvent(wxPaintEvent& evt)