Don't lower card down all the way if it's still selectable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3493 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -254,8 +254,7 @@ public abstract class CardPanel extends VirtualMediaPanel
|
||||
|
||||
// add to list and update offset
|
||||
_selectedHandSprites.add(sprite);
|
||||
sprite.setLocation(sprite.getX(),
|
||||
_handLocation.y - _selectedCardOffset);
|
||||
sprite.setLocation(sprite.getX(), getHandY(sprite));
|
||||
|
||||
// notify the observers
|
||||
ObserverList.ObserverOp op = new ObserverList.ObserverOp() {
|
||||
@@ -279,7 +278,7 @@ public abstract class CardPanel extends VirtualMediaPanel
|
||||
|
||||
// remove from list and update offset
|
||||
_selectedHandSprites.remove(sprite);
|
||||
sprite.setLocation(sprite.getX(), _handLocation.y);
|
||||
sprite.setLocation(sprite.getX(), getHandY(sprite));
|
||||
|
||||
// notify the observers
|
||||
ObserverList.ObserverOp op = new ObserverList.ObserverOp() {
|
||||
|
||||
Reference in New Issue
Block a user