message: Use new `notificationIndex` method
  Remove early `return`, as the loop was moved to the helper method, which
  has early return.
diff: @@ -125,12 +125,8 @@ void NotificationArea::onMouseDown(EventHandler::MouseButton button, int x, int
  return;
  }
  - const NAS2D::Point clickPoint{x, y};
  -
  - for (size_t count = 0; count < mNotificationList.size(); ++count)
  - {
  - const auto& rect = notificationRect(count);
  - if (rect.contains(clickPoint))
  + const auto count = notificationIndex({x, y});
  + if (count != SIZE_MAX)
  {
  if (button == EventHandler::MouseButton::Left)
  {
  @@ -139,8 +135,6 @@ void NotificationArea::onMouseDown(EventHandler::MouseButton button, int x, int
  mNotificationList.erase(mNotificationList.begin() + count);
  onMouseMove(x, y, 0, 0);
  - return;
  - }
  }
  }
  @@ -149,24 +143,17 @@ void NotificationArea::onMouseMove(int x, int y, int /*dX*/, int /*dY*/)
  {
  if (!rect().contains({x, y})) { return; }
  - for (size_t count = 0; count < mNotificationList.size(); ++count)
  + mNotificationIndex = notificationIndex({x, y});
  + if (mNotificationIndex != SIZE_MAX)
  {
  - const auto& rect = notificationRect(count);
  - if (rect.contains({x, y}))
  - {
  - mNotificationIndex = count;
  + const auto& rect = notificationRect(mNotificationIndex);
  - const int stringWidth = mFont.width(mNotificationList[count].brief) + 8;
  + const int stringWidth = mFont.width(mNotificationList[mNotificationIndex].brief) + 8;
  const int briefPositionX = positionX() - stringWidth;
  const int briefPositionY = rect.y + (rect.height / 2) - (mFont.height() / 2) - 2;
  mNotificationBriefRect = {briefPositionX, briefPositionY, stringWidth, mFont.height() + 4};
  -
  - return;
  - }
  }
  -
  - mNotificationIndex = SIZE_MAX;
  }
  