Selaa lähdekoodia

GWindow: Don't ignore update(), it should repaint the whole window.

This was causing some apps to have an empty window on startup since the
call to update() in show() was effectively a no-op.
Andreas Kling 6 vuotta sitten
vanhempi
commit
528054d192
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      LibGUI/GWindow.cpp

+ 0 - 2
LibGUI/GWindow.cpp

@@ -262,8 +262,6 @@ bool GWindow::is_visible() const
 
 void GWindow::update(const Rect& a_rect)
 {
-    if (a_rect.is_empty())
-        return;
     if (!m_window_id)
         return;
     for (auto& pending_rect : m_pending_paint_event_rects) {