diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-28 00:02:01 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-28 00:28:45 +0100 |
commit | e083abd148c70982a098d3f2fff8e61eee5c4f91 (patch) | |
tree | ad375c5c635e5b45f5d79558bc716e9a4165c741 /src/gui/radiobutton.cpp | |
parent | a96ad66d345807d6021f28c9b05b02328f76cc0f (diff) | |
download | Mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.gz Mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.bz2 Mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.tar.xz Mana-e083abd148c70982a098d3f2fff8e61eee5c4f91.zip |
Removed a lot of useless isVisible() checks
The draw() method of a widget isn't called when a widget is not visible.
Diffstat (limited to 'src/gui/radiobutton.cpp')
-rw-r--r-- | src/gui/radiobutton.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/radiobutton.cpp b/src/gui/radiobutton.cpp index 4a98e29a..d563a2db 100644 --- a/src/gui/radiobutton.cpp +++ b/src/gui/radiobutton.cpp @@ -69,9 +69,6 @@ RadioButton::~RadioButton() void RadioButton::drawBox(gcn::Graphics* graphics) { - if (!isVisible()) - return; - if (config.getValue("guialpha", 0.8) != mAlpha) { mAlpha = config.getValue("guialpha", 0.8); |