targetj 1.0.191 → 1.0.192

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.
@@ -377,7 +377,9 @@ var TargetUtil = exports.TargetUtil = /*#__PURE__*/function () {
377
377
  }, {
378
378
  key: "getValueStepsCycles",
379
379
  value: function getValueStepsCycles(tmodel, _target, key) {
380
+ var _tmodel$getParent;
380
381
  var cycle = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : tmodel.getTargetCycle(key);
382
+ cycle = tmodel.getTargetCycles(key) > 0 ? cycle : (_tmodel$getParent = tmodel.getParent()) === null || _tmodel$getParent === void 0 ? void 0 : _tmodel$getParent.getChildIndex(tmodel);
381
383
  var valueOnly = _target && _target.valueOnly;
382
384
  var lastValue = tmodel.val(key);
383
385
  var value = null,