Ver código fonte

Fix Label autowrap clips text

volzhs 7 anos atrás
pai
commit
adb179154a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      scene/gui/label.cpp

+ 1 - 1
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);
 		}