mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
working on a fix for #3057
This commit is contained in:
@@ -386,6 +386,11 @@ public abstract class Editor extends JFrame implements RunnerListener {
|
||||
super.processKeyEvent(evt);
|
||||
|
||||
if (inputHandler != null) {
|
||||
// Prevent sketch being marked modified cia ctrl-, on Windows/Linux
|
||||
if ((evt.getModifiers() & InputEvent.CTRL_MASK) != 0 &&
|
||||
evt.getKeyChar() == ',') {
|
||||
return;
|
||||
}
|
||||
switch (evt.getID()) {
|
||||
case KeyEvent.KEY_TYPED:
|
||||
inputHandler.keyTyped(evt);
|
||||
|
||||
Reference in New Issue
Block a user