fix hitbox for storyboard mover delete square

This commit is contained in:
yugecin 2016-12-26 23:37:13 +01:00
parent b562a50254
commit bf4bda949c

View File

@ -148,7 +148,7 @@ public class StoryboardMoveImpl implements StoryboardMove {
int dif = posY;
posY += Fonts.SMALL.getLineHeight() * 1.1f;
dif = posY - dif;
if (screenWidth - 20 <= x && x <= screenWidth - 10 && posY - dif / 2 - 5 <= y && y <= posY - dif / 2 + 5) {
if (screenWidth - 15 <= x && x <= screenWidth - 5 && posY - dif / 2 - 5 <= y && y <= posY - dif / 2 + 5) {
if (movers.size() == 1) {
movers.clear();
return;