File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,8 @@ class GText extends GDisplayObject {
298298 ui.Locale locale,
299299 ui.Paint background,
300300 ui.Paint foreground,
301+ String ellipsis,
302+ int maxLines,
301303 List <ui.Shadow > shadows,
302304 List <ui.FontFeature > fontFeatures,
303305 ui.TextAlign textAlign = ui.TextAlign .left,
@@ -335,6 +337,8 @@ class GText extends GDisplayObject {
335337 paragraphStyle: ui.ParagraphStyle (
336338 textAlign: textAlign,
337339 textDirection: direction,
340+ maxLines: maxLines,
341+ ellipsis: ellipsis,
338342 ),
339343 );
340344 doc? .addChild (tf);
Original file line number Diff line number Diff line change @@ -518,6 +518,18 @@ class GTween {
518518 }
519519 }
520520
521+ static bool isTweening (Object target){
522+ var t = _first;
523+ while (t != null ) {
524+ var next = t._next;
525+ if (t.target == target || t._animatableTarget == target) {
526+ return true ;
527+ }
528+ t = next;
529+ }
530+ return false ;
531+ }
532+
521533 /// Removes a Tween based on the the target object.
522534 static void killTweensOf (Object target) {
523535 var t = _first;
You can’t perform that action at this time.
0 commit comments