Merge pull request #3730 from JakubValtar/fx-keys

FX - normalize enter key
This commit is contained in:
Ben Fry
2015-08-28 11:40:23 -04:00
@@ -838,6 +838,7 @@ public class PSurfaceFX implements PSurface {
}
if (ch.length() < 1) return PConstants.CODED;
if (ch.startsWith("\r")) return '\n'; // normalize enter key
return ch.charAt(0);
}
}