@rpg-engine/long-bow 0.5.52 → 0.5.53

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.
@@ -15939,7 +15939,7 @@ var SimpleImageCarousel = function SimpleImageCarousel(_ref) {
15939
15939
  clearInterval(timer);
15940
15940
  return;
15941
15941
  }
15942
- handleRightClick();
15942
+ handleRightClick(true);
15943
15943
  }, autoCycleDelay);
15944
15944
  }
15945
15945
  return function () {
@@ -15954,8 +15954,13 @@ var SimpleImageCarousel = function SimpleImageCarousel(_ref) {
15954
15954
  return oldImage === 0 ? imagesSrc.length - 1 : oldImage - 1;
15955
15955
  });
15956
15956
  };
15957
- var handleRightClick = function handleRightClick() {
15958
- isInteracted.current = true;
15957
+ var handleRightClick = function handleRightClick(isAutomatedClick) {
15958
+ if (isAutomatedClick === void 0) {
15959
+ isAutomatedClick = false;
15960
+ }
15961
+ if (!isAutomatedClick) {
15962
+ isInteracted.current = true;
15963
+ }
15959
15964
  setCurrentImage(function (oldImage) {
15960
15965
  return oldImage === imagesSrc.length - 1 ? 0 : oldImage + 1;
15961
15966
  });