Fixed Issue 100; Plastered PInputEventFilter with Unit Tests and then made it consider the masks conditionally.
andMask if it's non-zero notMask if it's non-zero orMask if it's not ALL_MODIFIERS (I can't think of a case where you might want to say, "Only allow events as long as they have a modifier, I don't care which one") |
---|
|
core/src/main/java/edu/umd/cs/piccolo/event/PInputEventFilter.java |
---|
core/src/test/java/edu/umd/cs/piccolo/event/PInputEventFilterTest.java |
---|