@leapfrog/interactive-canvas 1.14.0-beta.1 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -489,6 +489,8 @@ var StackObjectsLayoutFunction = /** @class */ (function () {
|
|
|
489
489
|
return;
|
|
490
490
|
if (object.getType() === ObjectType.TEXT && object.isBulleted())
|
|
491
491
|
actualWidth -= object.getBulletMargin();
|
|
492
|
+
if (object.getType() === ObjectType.TEXT && object.isOrderedList())
|
|
493
|
+
actualWidth -= object.getOrderedListMargin();
|
|
492
494
|
object.setPosition({
|
|
493
495
|
width: actualWidth
|
|
494
496
|
});
|
|
@@ -491,6 +491,8 @@ var StackObjectsLayoutFunction = /** @class */ (function () {
|
|
|
491
491
|
return;
|
|
492
492
|
if (object.getType() === exports.ObjectType.TEXT && object.isBulleted())
|
|
493
493
|
actualWidth -= object.getBulletMargin();
|
|
494
|
+
if (object.getType() === exports.ObjectType.TEXT && object.isOrderedList())
|
|
495
|
+
actualWidth -= object.getOrderedListMargin();
|
|
494
496
|
object.setPosition({
|
|
495
497
|
width: actualWidth
|
|
496
498
|
});
|