diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 15:50:08 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 15:50:59 -0300 |
commit | e9bb65db815b593037a573c1c7a78e95b7550cb0 (patch) | |
tree | 3ccb0b04272cf36701028a1f662c39cc1bd9bdc1 /scene/gui/label.cpp | |
parent | 0e635b683b84417b0970218ce720bbc553205ca6 (diff) | |
download | redot-engine-e9bb65db815b593037a573c1c7a78e95b7550cb0.tar.gz |
-All types have editable script now in properties
-Changed clip to a property in Control which can be set by the user
Diffstat (limited to 'scene/gui/label.cpp')
-rw-r--r-- | scene/gui/label.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 3d350b2230..dda9e4b128 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -70,8 +70,9 @@ void Label::_notification(int p_what) { if (p_what==NOTIFICATION_DRAW) { - if (clip || autowrap) + if (clip || autowrap) { VisualServer::get_singleton()->canvas_item_set_clip(get_canvas_item(),true); + } if (word_cache_dirty) regenerate_word_cache(); |