docs: private void calculateMinimapAreaBounds() {
          if (minimapBounds == null) {
              return;
          }
  
          if (zoom == 1f) {
              miniMapRequired = false;
          } else {
              // Calculates the bounds of the current displayed area
              float x = (-currentXOffset - toCurrentScale(currentFilteredPage * optimalPageWidth)) //
                      / toCurrentScale(optimalPageWidth) * minimapBounds.width();
              float width = getWidth() / toCurrentScale(optimalPageWidth) * minimapBounds.width();
              float y = -currentYOffset / toCurrentScale(optimalPageHeight) * minimapBounds.height();
              float height = getHeight() / toCurrentScale(optimalPageHeight) * minimapBounds.height();
              minimapScreenBounds = new RectF(minimapBounds.left + x, minimapBounds.top + y, //
                      minimapBounds.left + x + width, minimapBounds.top + y + height);
              minimapScreenBounds.intersect(minimapBounds);
              miniMapRequired = true;
          }
      }