Explorar el Código

Fix for Issue #138 for guiArrayCtrl Fix

DavidWyand-GG hace 13 años
padre
commit
2a6a177fa1
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Engine/source/gui/core/guiArrayCtrl.cpp

+ 2 - 1
Engine/source/gui/core/guiArrayCtrl.cpp

@@ -284,7 +284,8 @@ void GuiArrayCtrl::onRender(Point2I offset, const RectI &updateRect)
          //now render the header
          onRenderColumnHeaders(offset, parentOffset, mHeaderDim);
 
-         clipRect.point.y = headerClip.point.y + headerClip.extent.y - 1;
+         clipRect.point.y += headerClip.extent.y;
+         clipRect.extent.y -= headerClip.extent.y;
       }
       offset.y += mHeaderDim.y;
    }