don't adjust y upward if divider's being dragged -- should be tiles

only.  Fixes bug where divider can't be dragged unless grabbed low or
started quickly.
This commit is contained in:
eehouse 2010-02-27 18:04:40 +00:00
parent 7d0bd9d50c
commit b6a151a7e8

View file

@ -288,7 +288,8 @@ dragDropSetAdd( BoardCtxt* board )
{
DragState* ds = &board->dragState;
XP_Bool draw;
draw = dragDropInProgress(board) && !dragDropHasMoved( board );
draw = dragDropInProgress(board) && !dragDropIsDividerDrag( board )
&& !dragDropHasMoved( board );
if ( draw ) {
XP_U16 xx = board->penDownX;
XP_U16 yy = board->penDownY;