Popover: tiny cleanup

This commit is contained in:
Dalai Felinto
2018-04-29 12:22:55 +02:00
parent 40f27e520f
commit aaf85e29a1

View File

@@ -4698,7 +4698,7 @@ static void ui_draw_popover_back_impl(
else {
const float y = rect->ymin;
immVertex2f(pos, cent_x - unit_half, y);
immVertex2f(pos, cent_x + unit_half, rect->ymin);
immVertex2f(pos, cent_x + unit_half, y);
immVertex2f(pos, cent_x, y - unit_half);
}
immEnd();