mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
Fixes bug found by alpha tester by dragging third tile to left of
divider. Inval all tiles when a drag ends off any managed space. We don't know what tiles have already been moved, and when it's returned to its initial spot may appear a dup.
This commit is contained in:
parent
cf9c952fc2
commit
b52c9f0d14
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ dragDropEnd( BoardCtxt* board, XP_U16 xx, XP_U16 yy, XP_Bool* dragged )
|
||||||
} else {
|
} else {
|
||||||
/* We're returning it to start, so will be re-inserted in tray */
|
/* We're returning it to start, so will be re-inserted in tray */
|
||||||
if ( OBJ_TRAY == ds->start.obj ) {
|
if ( OBJ_TRAY == ds->start.obj ) {
|
||||||
invalTrayTilesAbove( board, ds->start.u.tray.index );
|
board_invalTrayTiles( board, ALLTILES );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue