clip so arrow doesn't overwrite cell border on smartphone with small cells.

This commit is contained in:
ehouse 2008-05-25 15:31:54 +00:00
parent 556e947cad
commit 64199cf1ec

View file

@ -672,11 +672,11 @@ DRAW_FUNC_NAME(drawBoardArrow)( DrawCtx* p_dctx, const XP_Rect* xprect,
XPRtoRECT( &rt, xprect );
++rt.bottom;
++rt.right;
ceClipToRect( hdc, &rt );
Rectangle( hdc, rt.left, rt.top, rt.right, rt.bottom );
InsetRect( &rt, 1, 1 );
ceClipToRect( hdc, &rt );
if ( vertical ) {
cursor = dctx->downArrow;