Fixed UnderOverlayMask.

This commit is contained in:
TomyLobo 2013-10-29 08:38:16 +01:00
parent ae6e59e8d0
commit 6e3d8395df

View File

@ -68,7 +68,6 @@ public class UnderOverlayMask implements Mask {
@Override
public boolean matches(EditSession editSession, Vector pos) {
return mask.matches(editSession, pos.add(0, yMod, 0));
return !mask.matches(editSession, pos) && mask.matches(editSession, pos.add(0, yMod, 0));
}
}