@neoprototype/neop-ui-lib 1.2.1 → 1.2.2

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.
@@ -2726,10 +2726,10 @@ class NpTabComponent {
2726
2726
  if (!wrapper)
2727
2727
  return;
2728
2728
  const scrollLeft = wrapper.scrollLeft;
2729
- const npScrollWidth = wrapper.npScrollWidth;
2729
+ const scrollWidth = wrapper.scrollWidth;
2730
2730
  const clientWidth = wrapper.clientWidth;
2731
2731
  this.scrollLeftButton = scrollLeft > 0;
2732
- this.scrollRightButton = scrollLeft + clientWidth < Math.ceil(npScrollWidth);
2732
+ this.scrollRightButton = scrollLeft + clientWidth < Math.ceil(scrollWidth);
2733
2733
  };
2734
2734
  scrollLeft() {
2735
2735
  const wrapper = this.headerWrapperRef?.nativeElement;