mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-28 04:23:40 +01:00
jwidget: fix floating widgets not laying themselves out
This commit is contained in:
parent
c90b3f1fb2
commit
11868d85ee
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ static void jwidget_layout_apply(void *w0)
|
||||||
if(!w->visible) return;
|
if(!w->visible) return;
|
||||||
int t = w->layout;
|
int t = w->layout;
|
||||||
|
|
||||||
if(t == J_LAYOUT_NONE || w->floating) {
|
if(t == J_LAYOUT_NONE) {
|
||||||
jwidget_poly const *poly = widget_types[w->type];
|
jwidget_poly const *poly = widget_types[w->type];
|
||||||
if(poly->layout) poly->layout(w);
|
if(poly->layout) poly->layout(w);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue