remove debug logging

This commit is contained in:
hippoz 2022-10-19 00:18:03 +03:00
parent 8c437b1d80
commit 854e7d1d74
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -222,13 +222,10 @@ void Widget::handle_mouse_move_event(MouseMoveEvent &event) {
if (m_is_focused && m_window) if (m_is_focused && m_window)
m_window->set_focused_widget(this); m_window->set_focused_widget(this);
std::cout << "update focus: " << update_focus_to << std::endl;
auto focus_update_event = FocusUpdateEvent(update_focus_to); auto focus_update_event = FocusUpdateEvent(update_focus_to);
on_focus_update(focus_update_event); on_focus_update(focus_update_event);
if (m_style->update_background()) { if (m_style->update_background()) {
std::cout << "should repaint because of focus change" << std::endl;
repaint(); repaint();
} }
} }