1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-14 05:15:21 +01:00

Some random code cleanups

This commit is contained in:
sfan5
2025-11-14 16:06:07 +01:00
parent 08ba866992
commit aff1abd05d
21 changed files with 103 additions and 91 deletions

View File

@@ -43,8 +43,6 @@ void GUIEditBoxWithScrollBar::draw()
if (!skin)
return;
video::SColor default_bg_color;
if (m_bg_color_used) {
OverrideBgColor = m_bg_color;
} else if (IsWritable) {

View File

@@ -21,7 +21,7 @@ class ISimpleTextureSource;
using namespace gui;
class GUIScrollBar : public IGUIScrollBar
class GUIScrollBar final : public IGUIScrollBar
{
public:
GUIScrollBar(IGUIEnvironment *environment, IGUIElement *parent, s32 id,