@rpg-engine/long-bow 0.5.51 → 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.
@@ -15943,7 +15943,7 @@ var SimpleImageCarousel = function SimpleImageCarousel(_ref) {
15943
15943
  clearInterval(timer);
15944
15944
  return;
15945
15945
  }
15946
- handleRightClick();
15946
+ handleRightClick(true);
15947
15947
  }, autoCycleDelay);
15948
15948
  }
15949
15949
  return function () {
@@ -15958,8 +15958,13 @@ var SimpleImageCarousel = function SimpleImageCarousel(_ref) {
15958
15958
  return oldImage === 0 ? imagesSrc.length - 1 : oldImage - 1;
15959
15959
  });
15960
15960
  };
15961
- var handleRightClick = function handleRightClick() {
15962
- isInteracted.current = true;
15961
+ var handleRightClick = function handleRightClick(isAutomatedClick) {
15962
+ if (isAutomatedClick === void 0) {
15963
+ isAutomatedClick = false;
15964
+ }
15965
+ if (!isAutomatedClick) {
15966
+ isInteracted.current = true;
15967
+ }
15963
15968
  setCurrentImage(function (oldImage) {
15964
15969
  return oldImage === imagesSrc.length - 1 ? 0 : oldImage + 1;
15965
15970
  });