mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 15:45:08 +00:00
GWidget: Silence debug spam about the click clock.
This commit is contained in:
parent
28cf9a41fe
commit
7a74b76769
1 changed files with 2 additions and 0 deletions
|
@ -163,7 +163,9 @@ void GWidget::handle_mouseup_event(GMouseEvent& event)
|
|||
// FIXME: This needs improvement.
|
||||
if (m_click_clock.is_valid()) {
|
||||
int elapsed_since_last_click = m_click_clock.elapsed();
|
||||
#if 0
|
||||
dbgprintf("Click clock elapsed: %d\n", m_click_clock.elapsed());
|
||||
#endif
|
||||
if (elapsed_since_last_click < 250) {
|
||||
doubleclick_event(event);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue