fix: resize on widget style changes

This commit is contained in:
CJ van den Berg 2025-12-11 18:46:35 +01:00
parent dc3b4f8c16
commit b62a1e906f
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -2219,6 +2219,7 @@ pub fn set_next_style(widget_type: WidgetType) void {
ref.* = next_widget_style(ref.*);
const self = current();
self.logger.print("{t} style {t}", .{ widget_type, ref.* });
resize();
}
fn next_widget_style(tag: ConfigWidgetStyle) ConfigWidgetStyle {