Merge pull request #20228 from volzhs/fix-autowrap-clip

Fix Label autowrap clips text
This commit is contained in:
Rémi Verschelde 2018-07-18 08:32:35 +02:00 committed by GitHub
commit c25deadd4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}