mirror of https://github.com/minetest/minetest.git
GUIButton: Default BgColor to white, as opposed to unintialized
(Same as what CGUIButton uses (via colors=0).)
This commit is contained in:
parent
2903f692ba
commit
124d064015
|
@ -275,6 +275,6 @@ private:
|
||||||
core::rect<s32> BgMiddle;
|
core::rect<s32> BgMiddle;
|
||||||
core::rect<s32> Padding;
|
core::rect<s32> Padding;
|
||||||
core::vector2d<s32> ContentOffset;
|
core::vector2d<s32> ContentOffset;
|
||||||
video::SColor BgColor;
|
video::SColor BgColor = video::SColor(0xFF,0xFF,0xFF,0xFF);
|
||||||
// END PATCH
|
// END PATCH
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue