Skip to content

Commit

Permalink
Merge pull request #20228 from volzhs/fix-autowrap-clip
Browse files Browse the repository at this point in the history
Fix Label autowrap clips text
  • Loading branch information
akien-mga authored Jul 18, 2018
2 parents f1970e1 + adb1791 commit c25dead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c25dead

Please sign in to comment.