mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #3730 from JakubValtar/fx-keys
FX - normalize enter key
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user