diff options
Diffstat (limited to 'scene/gui/check_button.cpp')
-rw-r--r-- | scene/gui/check_button.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/gui/check_button.cpp b/scene/gui/check_button.cpp index ecaea251a5..f8c0c6b208 100644 --- a/scene/gui/check_button.cpp +++ b/scene/gui/check_button.cpp @@ -33,9 +33,9 @@ void CheckButton::_notification(int p_what) { - + if (p_what==NOTIFICATION_DRAW) { - + RID ci = get_canvas_item(); Ref<Texture> on=Control::get_icon("on"); @@ -50,17 +50,17 @@ void CheckButton::_notification(int p_what) { else off->draw(ci,ofs); - + } } CheckButton::CheckButton() { - + set_toggle_mode(true); set_text_align(ALIGN_LEFT); - + } |