Codechange: use accessor for (scrollbar_)index as they are read only

This commit is contained in:
Rubidium
2025-01-04 07:56:01 +01:00
committed by rubidium42
parent b653f875b0
commit bfc8ae6c52
6 changed files with 43 additions and 23 deletions

View File

@@ -425,7 +425,7 @@ public:
*/
inline bool IsWidgetFocused(WidgetID widget_index) const
{
return this->nested_focus != nullptr && this->nested_focus->index == widget_index;
return this->nested_focus != nullptr && this->nested_focus->GetIndex() == widget_index;
}
/**