1
0
Fork 0

Codefix: Widget should be passed as WidgetID type.

pull/12332/head
Peter Nelson 2024-03-18 19:55:31 +00:00
parent 107c208d87
commit 8ec37855bc
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ public:
* Marks a widget as raised and dirty (redraw), when it is marked as lowered. * Marks a widget as raised and dirty (redraw), when it is marked as lowered.
* @param widget_index index of this widget in the window * @param widget_index index of this widget in the window
*/ */
inline void RaiseWidgetWhenLowered(uint8_t widget_index) inline void RaiseWidgetWhenLowered(WidgetID widget_index)
{ {
if (this->IsWidgetLowered(widget_index)) { if (this->IsWidgetLowered(widget_index)) {
this->RaiseWidget(widget_index); this->RaiseWidget(widget_index);