Fix formatting.

This commit is contained in:
Maschell 2022-02-05 14:46:44 +01:00
parent b2724122a3
commit 0f1ae4c77a

View File

@ -63,8 +63,9 @@ void GuiSwitch::setImageHighlighted(GuiImage *img) {
}
void GuiSwitch::draw(CVideo *v) {
if(!this->isVisible())
if (!this->isVisible()) {
return;
}
GuiToggle::draw(v);
if (getValue()) {