|
@@ -527,7 +527,7 @@ public abstract class AbstractCanvas extends JPanel {
|
|
|
protected boolean checkForReplacement(ArrayList<AbstractCpsObject> objects, AbstractCpsObject draggedCps, int x, int y){
|
|
|
|
|
|
/** distance treshold for replacement */
|
|
|
- int treshhold = controller.getScale()/4*2;
|
|
|
+ int treshhold = controller.getScale()/2;
|
|
|
|
|
|
/** number of Objects that might be replaced (should be 1) */
|
|
|
int replaceCounter = 0;
|