Ticket #705: tooltips.patch

File tooltips.patch, 599 bytes (added by Leonard, 13 years ago)
  • CTooltip.cpp

     
    124124        size.pixel.bottom -= size.pixel.top, size.pixel.top = 0.f;
    125125    else if (size.pixel.bottom > screenh)
    126126        size.pixel.top -= (size.pixel.bottom-screenh), size.pixel.bottom = screenh;
    127     else if (size.pixel.left < 0.f)
     127
     128    if (size.pixel.left < 0.f)
    128129        size.pixel.right -= size.pixel.left, size.pixel.left = 0.f;
    129130    else if (size.pixel.right > screenw)
    130131        size.pixel.left -= (size.pixel.right-screenw), size.pixel.right = screenw;