mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +00:00
LibGUI: Remove some ancient unused debug logging in AbstractButton
This commit is contained in:
parent
d2ae37f88f
commit
ff8d250cbc
1 changed files with 0 additions and 6 deletions
|
@ -107,9 +107,6 @@ void AbstractButton::mousemove_event(MouseEvent& event)
|
||||||
|
|
||||||
void AbstractButton::mousedown_event(MouseEvent& event)
|
void AbstractButton::mousedown_event(MouseEvent& event)
|
||||||
{
|
{
|
||||||
#ifdef GABSTRACTBUTTON_DEBUG
|
|
||||||
dbgprintf("AbstractButton::mouse_down_event: x=%d, y=%d, button=%u\n", event.x(), event.y(), (unsigned)event.button());
|
|
||||||
#endif
|
|
||||||
if (event.button() == MouseButton::Left) {
|
if (event.button() == MouseButton::Left) {
|
||||||
m_being_pressed = true;
|
m_being_pressed = true;
|
||||||
update();
|
update();
|
||||||
|
@ -124,9 +121,6 @@ void AbstractButton::mousedown_event(MouseEvent& event)
|
||||||
|
|
||||||
void AbstractButton::mouseup_event(MouseEvent& event)
|
void AbstractButton::mouseup_event(MouseEvent& event)
|
||||||
{
|
{
|
||||||
#ifdef GABSTRACTBUTTON_DEBUG
|
|
||||||
dbgprintf("AbstractButton::mouse_up_event: x=%d, y=%d, button=%u\n", event.x(), event.y(), (unsigned)event.button());
|
|
||||||
#endif
|
|
||||||
if (event.button() == MouseButton::Left) {
|
if (event.button() == MouseButton::Left) {
|
||||||
bool was_auto_repeating = m_auto_repeat_timer->is_active();
|
bool was_auto_repeating = m_auto_repeat_timer->is_active();
|
||||||
m_auto_repeat_timer->stop();
|
m_auto_repeat_timer->stop();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue