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 {
298
298
ui.Locale locale,
299
299
ui.Paint background,
300
300
ui.Paint foreground,
301
+ String ellipsis,
302
+ int maxLines,
301
303
List <ui.Shadow > shadows,
302
304
List <ui.FontFeature > fontFeatures,
303
305
ui.TextAlign textAlign = ui.TextAlign .left,
@@ -335,6 +337,8 @@ class GText extends GDisplayObject {
335
337
paragraphStyle: ui.ParagraphStyle (
336
338
textAlign: textAlign,
337
339
textDirection: direction,
340
+ maxLines: maxLines,
341
+ ellipsis: ellipsis,
338
342
),
339
343
);
340
344
doc? .addChild (tf);
Original file line number Diff line number Diff line change @@ -518,6 +518,18 @@ class GTween {
518
518
}
519
519
}
520
520
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
+
521
533
/// Removes a Tween based on the the target object.
522
534
static void killTweensOf (Object target) {
523
535
var t = _first;
You can’t perform that action at this time.
0 commit comments