diff --git a/src/k3menu.c b/src/k3menu.c index dd9c997..579fbf9 100644 --- a/src/k3menu.c +++ b/src/k3menu.c @@ -205,10 +205,10 @@ ret: } static void obj_draw_direct(struct k3MObj *this) { - struct k3MProperty *borderRadiusProp = k3MFindProperty(this, k3M_PROP_BORDER_RADIUS, false); + struct k3MProperty *borderRadiusProp = k3MFindProperty(this, k3M_PROP_BORDER_RADIUS, true); float borderRadius = borderRadiusProp ? borderRadiusProp->si[0] : 0; - struct k3MProperty *bgColorProp = k3MFindProperty(this, k3M_PROP_BG_COLOR, false); + struct k3MProperty *bgColorProp = k3MFindProperty(this, k3M_PROP_BG_COLOR, true); vec4 bgColor = {0, 0, 0, 0}; if(bgColorProp) { bgColor[0] = bgColorProp->si[0] / 255.0;