Skip to content

Commit

Permalink
Fixed|libappfw: Don't draw a popup with zero surface area
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 17, 2014
1 parent 5fe705b commit 8f48479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/libappfw/src/widgets/popupwidget.cpp
Expand Up @@ -355,6 +355,8 @@ bool PopupWidget::handleEvent(Event const &event)

void PopupWidget::glMakeGeometry(DefaultVertexBuf::Builder &verts)
{
if(rule().recti().isNull()) return; // Still closed.

PanelWidget::glMakeGeometry(verts);

ui::Direction const dir = openingDirection();
Expand Down

0 comments on commit 8f48479

Please sign in to comment.