mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
clip so arrow doesn't overwrite cell border on smartphone with small cells.
This commit is contained in:
parent
7821a4c5e5
commit
3d7595fb2c
1 changed files with 1 additions and 1 deletions
|
@ -672,11 +672,11 @@ DRAW_FUNC_NAME(drawBoardArrow)( DrawCtx* p_dctx, const XP_Rect* xprect,
|
||||||
XPRtoRECT( &rt, xprect );
|
XPRtoRECT( &rt, xprect );
|
||||||
++rt.bottom;
|
++rt.bottom;
|
||||||
++rt.right;
|
++rt.right;
|
||||||
|
|
||||||
ceClipToRect( hdc, &rt );
|
ceClipToRect( hdc, &rt );
|
||||||
|
|
||||||
Rectangle( hdc, rt.left, rt.top, rt.right, rt.bottom );
|
Rectangle( hdc, rt.left, rt.top, rt.right, rt.bottom );
|
||||||
InsetRect( &rt, 1, 1 );
|
InsetRect( &rt, 1, 1 );
|
||||||
|
ceClipToRect( hdc, &rt );
|
||||||
|
|
||||||
if ( vertical ) {
|
if ( vertical ) {
|
||||||
cursor = dctx->downArrow;
|
cursor = dctx->downArrow;
|
||||||
|
|
Loading…
Add table
Reference in a new issue