mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 04:45:24 +02:00
GUIButton: Default BgColor to white, as opposed to unintialized
(Same as what CGUIButton uses (via colors=0).)
This commit is contained in:
@@ -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
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user