@Override
      public void mousePressed(MouseEvent event) {
        if (scrollbar.isEnabled()
            && SwingUtilities.isLeftMouseButton(event)
            && NSScrollerHelper.getClickBehavior() == NSScrollerHelper.ClickBehavior.JumpToSpot
            && !getThumbBounds().contains(event.getPoint())) {

          MethodHandle setValueFrom = ButtonlessScrollBarUI.setValueFrom.getValue();
          if (setValueFrom != null) {
            switch (scrollbar.getOrientation()) {
              case Adjustable.VERTICAL -> offset = getThumbBounds().height / 2;
              case Adjustable.HORIZONTAL -> offset = getThumbBounds().width / 2;
            }

            isDragging = true;
            try {
              setValueFrom.invoke(this, event);
            }
            catch (Throwable e) {
              LOG.error(e);
            }

            return;
          }
        }

        super.mousePressed(event);
      }
@Override
      public void mousePressed(MouseEvent event)