mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Initialize class variables with default values in scene/ [2/2]
This commit is contained in:
@@ -434,7 +434,7 @@ double ScrollBar::get_area_size() const {
|
||||
}
|
||||
|
||||
double ScrollBar::get_area_offset() const {
|
||||
double ofs = 0;
|
||||
double ofs = 0.0;
|
||||
|
||||
if (orientation == VERTICAL) {
|
||||
ofs += get_theme_stylebox("hscroll")->get_margin(SIDE_TOP);
|
||||
|
||||
Reference in New Issue
Block a user