set ellipse rect's type to the ellipse's type
This commit is contained in:
parent
4872e59e16
commit
2b3f4c58c4
1 changed files with 4 additions and 1 deletions
|
@ -73,7 +73,10 @@ void ellipse(PtkEllipse *ellipse) {
|
|||
.h = ellipse->radii.h * 2.0f,
|
||||
};
|
||||
|
||||
rect((PtkRect *)ptk_rect(top_left, size, ellipse->color));
|
||||
PtkRect *r = (PtkRect *)ptk_rect(top_left, size, ellipse->color);
|
||||
r->type = ellipse->type;
|
||||
|
||||
rect(r);
|
||||
}
|
||||
|
||||
void vk_component(PtkHandle component) {
|
||||
|
|
Loading…
Reference in a new issue