trying to simplify #4599

This commit is contained in:
Ben Fry
2016-08-04 11:06:10 -04:00
parent 8f0938a40a
commit 90cdf99ba1
4 changed files with 27 additions and 19 deletions

View File

@@ -335,9 +335,8 @@ public class JavaInputHandler extends PdeInputHandler {
@Override
public void onCommittedFromInputMethodSupport(char c) {
Sketch sketch = editor.getSketch();
sketch.setModified(true);
public void handleInputMethodCommit() {
editor.getSketch().setModified(true);
}