1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 15:55:08 +00:00

GWidget: Silence debug spam about the click clock.

This commit is contained in:
Andreas Kling 2019-04-13 16:15:47 +02:00
parent 28cf9a41fe
commit 7a74b76769

View file

@ -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 {