Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.75 KB | None | 0 0
  1. Index: source/gui/COList.cpp
  2. ===================================================================
  3. --- source/gui/COList.cpp   (revision 16968)
  4. +++ source/gui/COList.cpp   (working copy)
  5. @@ -158,11 +158,11 @@
  6.         {
  7.             float width = m_ObjectsDefs[def].m_Width;
  8.             // Check if it's a decimal value, and if so, assume relative positioning.
  9.             if (m_ObjectsDefs[def].m_Width < 1 && m_ObjectsDefs[def].m_Width > 0)
  10.                 width *= m_TotalAvalibleColumnWidth;
  11. -           CPos leftTopCorner = m_CachedActualSize.TopLeft() + CPos(xpos, 4);
  12. +           CPos leftTopCorner = m_CachedActualSize.TopLeft() + CPos(xpos, 0);
  13.             if (mouse.x >= leftTopCorner.x &&
  14.                 mouse.x < leftTopCorner.x + width &&
  15.                 mouse.y < leftTopCorner.y + m_HeadingHeight)
  16.             {
  17.                 if (def != m_SelectedDef)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement