Page 1 of 1

Maximized minimap should conserve proportions

Posted: 14 Apr 2009, 23:33
by BlueTemplar
Or at least fill all the available screen space. Most people have widescreens now and it's annoying to have all those empty borders on the sides, especially when the map itself is not square.

Re: Maximized minimap should conserve proportions

Posted: 22 Apr 2009, 13:27
by TradeMark
Hmm, you are right, it doesnt remain the aspect ratio :shock:

Re: Maximized minimap should conserve proportions

Posted: 22 Apr 2009, 20:15
by trepan
/minimap maxspect -- iirc

Also ... read the tooltips

Code: Select all

std::string CMiniMap::GetTooltip(int x, int y)
{
  if (minimized) {
    return "Unminimize map";
  }
   
  if (buttonBox.Inside(x, y)) {
    if (resizeBox.Inside(x, y)) {
      return "Resize map\n(SHIFT to maintain aspect ratio)";
    }
    if (moveBox.Inside(x, y)) {
      return "Move map";
    }
    if (maximizeBox.Inside(x, y)) {
      if (!maximized) {
        return "Maximize map\n(SHIFT to maintain aspect ratio)";
      } else {
        return "Unmaximize map";
      }
    }  
    if (minimizeBox.Inside(x, y)) {
      return "Minimize map";
    }
  }

Re: Maximized minimap should conserve proportions

Posted: 22 Apr 2009, 21:57
by TradeMark
oh it works like that in the maximize button too... didnt know o.o