diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-07-18 08:32:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 08:32:35 +0200 |
commit | c25deadd4dbdfa650c2b4ddbe9c46026b166c5e3 (patch) | |
tree | f496cc40a0eb5673dc2ca09a73aec4470a226f44 /scene | |
parent | f1970e15b9450bff321f854d5ff1dbfc4bf80148 (diff) | |
parent | adb179154afbb59052a43b13b034ef6c8f0a5d74 (diff) |
Merge pull request #20228 from volzhs/fix-autowrap-clip
Fix Label autowrap clips text
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 9af479c1cc..0b36e1663c 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -75,7 +75,7 @@ void Label::_notification(int p_what) { if (p_what == NOTIFICATION_DRAW) { - if (clip || autowrap) { + if (clip) { VisualServer::get_singleton()->canvas_item_set_clip(get_canvas_item(), true); } |