You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here you can see in draw_style_box the StyleBox is referred to as style_box while in get_theme_stylebox it is stylebox, missing an underscore.
In some places, variables that use StyleBox call it style_box while others call it stylebox. The class StyleBox has Box uppercase, so I think style_box makes more sense.
This isn't a major issue, this is just a thing I noticed that could be adjusted later for consistency. (or rename & deprecate functions or something)
Steps to reproduce
N/A
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
All
System information
N/A
Issue description
To start I'll show this single line:
draw_style_box(get_theme_stylebox(SN_STYLEBOX_PLUS), plus_rect);
Here you can see in
draw_style_box
the StyleBox is referred to asstyle_box
while inget_theme_stylebox
it isstylebox
, missing an underscore.In some places, variables that use StyleBox call it
style_box
while others call itstylebox
. The class StyleBox has Box uppercase, so I thinkstyle_box
makes more sense.This isn't a major issue, this is just a thing I noticed that could be adjusted later for consistency. (or rename & deprecate functions or something)
Steps to reproduce
N/A
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: