fix: resize on widget style changes
This commit is contained in:
parent
dc3b4f8c16
commit
b62a1e906f
1 changed files with 1 additions and 0 deletions
|
|
@ -2219,6 +2219,7 @@ pub fn set_next_style(widget_type: WidgetType) void {
|
||||||
ref.* = next_widget_style(ref.*);
|
ref.* = next_widget_style(ref.*);
|
||||||
const self = current();
|
const self = current();
|
||||||
self.logger.print("{t} style {t}", .{ widget_type, ref.* });
|
self.logger.print("{t} style {t}", .{ widget_type, ref.* });
|
||||||
|
resize();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn next_widget_style(tag: ConfigWidgetStyle) ConfigWidgetStyle {
|
fn next_widget_style(tag: ConfigWidgetStyle) ConfigWidgetStyle {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue