summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2018-07-18 02:19:05 +0900
committervolzhs <volzhs@gmail.com>2018-07-18 02:19:05 +0900
commitadb179154afbb59052a43b13b034ef6c8f0a5d74 (patch)
tree54ebe44eb16a3969f0cca9494d0a382d99c97526 /scene
parentabfa4b822bef869acbebb55e1659174623c3815e (diff)
Fix Label autowrap clips text
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/label.cpp2
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);
}