diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2016-11-03 20:07:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 20:07:32 +0100 |
commit | f0b71621776af65911e624420bb79d118b438bbb (patch) | |
tree | 0433750a11afd2033ec7f0443b5d81f6004ad647 | |
parent | 69932149bbbb24dd6f6f25877afc3b5cc0ca16ad (diff) | |
parent | 8639d6e806379bc5c0517851f5c6ff5ecbad51d4 (diff) |
Merge pull request #7032 from ScotFlux/fix_tiny_typo
Fix a tiny typo on label.cpp
[ci skip]
-rw-r--r-- | scene/gui/label.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index ec89b7b690..3b15776c55 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -85,7 +85,7 @@ void Label::_notification(int p_what) { Ref<Font> font = get_font("font"); Color font_color = get_color("font_color"); Color font_color_shadow = get_color("font_color_shadow"); - bool use_outlinde = get_constant("shadow_as_outline"); + bool use_outline = get_constant("shadow_as_outline"); Point2 shadow_ofs(get_constant("shadow_offset_x"),get_constant("shadow_offset_y")); int line_spacing = get_constant("line_spacing"); @@ -247,7 +247,7 @@ void Label::_notification(int p_what) { } float move=font->draw_char(ci, Point2( x_ofs_shadow, y_ofs )+shadow_ofs, c, n,font_color_shadow ); - if (use_outlinde) { + if (use_outline) { font->draw_char(ci, Point2( x_ofs_shadow, y_ofs )+Vector2(-shadow_ofs.x,shadow_ofs.y), c, n,font_color_shadow ); font->draw_char(ci, Point2( x_ofs_shadow, y_ofs )+Vector2(shadow_ofs.x,-shadow_ofs.y), c, n,font_color_shadow ); font->draw_char(ci, Point2( x_ofs_shadow, y_ofs )+Vector2(-shadow_ofs.x,-shadow_ofs.y), c, n,font_color_shadow ); |