System/Libraries/Widget: Eager repaint on widget->SetText() unless otherwise specified
This commit is contained in:
parent
d3048f31e5
commit
5fb71f80ca
1 changed files with 3 additions and 1 deletions
|
@ -308,6 +308,8 @@ U0 @gui_widget_set_text(Widget* widget, U8* text)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if (!widget->parent_win->explicit_repaint)
|
||||
Gui.Window.Refresh(widget->parent_win);
|
||||
}
|
||||
|
||||
Bool @widget_is_hovered(I64 x, I64 y, Widget* widget)
|
||||
|
@ -831,4 +833,4 @@ Gui.Widget.ClearMousePointer = &@gui_widget_clear_mouse_pointer;
|
|||
Gui.Widget.SetOpacity = &@gui_widget_set_opacity;
|
||||
Gui.Widget.SetText = &@gui_widget_set_text;
|
||||
|
||||
"widget ";
|
||||
"widget ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue