From 1f05ab93288938375e6a4ea63304eeb05d06aa91 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 9 May 2011 04:41:59 +0200 Subject: Fixed some positioning issues git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@183 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/TurnControl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jrummikub/control') diff --git a/src/jrummikub/control/TurnControl.java b/src/jrummikub/control/TurnControl.java index 3213fd6..f39ec39 100644 --- a/src/jrummikub/control/TurnControl.java +++ b/src/jrummikub/control/TurnControl.java @@ -153,7 +153,8 @@ public class TurnControl { } pickUpSelectedStones(); - table.drop(new StoneSet(selectedStones), position); + table.drop(new StoneSet(selectedStones), new Position(position.getX() + - selectedStones.size() * 0.5f, position.getY() - 0.5f)); selectedStones.clear(); view.getTablePanel().setStoneSets(table); -- cgit v1.2.3