Merge pull request #3706 from orestisf1993/swap
Fix: delete decoration cache after swap
This commit is contained in:
commit
3c63e2cd7d
|
@ -2385,6 +2385,8 @@ bool con_swap(Con *first, Con *second) {
|
||||||
con_fix_percent(first->parent);
|
con_fix_percent(first->parent);
|
||||||
con_fix_percent(second->parent);
|
con_fix_percent(second->parent);
|
||||||
|
|
||||||
|
FREE(first->deco_render_params);
|
||||||
|
FREE(second->deco_render_params);
|
||||||
con_force_split_parents_redraw(first);
|
con_force_split_parents_redraw(first);
|
||||||
con_force_split_parents_redraw(second);
|
con_force_split_parents_redraw(second);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue