From d5e1367da1b79776ea52afaca239e6764dee8c00 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 14 Oct 2019 13:01:26 +0200 Subject: [PATCH] fixed ProjectDialog's search field behavior for IME --- HISTORY.md | 2 ++ snap.html | 2 +- src/gui.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index fe079c50..7e33a841 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,6 +7,7 @@ * **Notable Changes:** * **Notable Fixes:** * typing strings into the search-field again shows relevant blocks (regression from IME) + * fixed project dialog's search-field behevior (regression from IME) * morphic collision detection off-by-1 fix, thanks, Dariusz! * fixed a typo in the OF-reporter's help screen, thanks, @jasonappah * enable costumes created in the vector editor to be stretchable in Firefox, thanks, @coproc @@ -19,6 +20,7 @@ ### 2019-10-14 * morphic: new "reactToInput" text-editing event * objects: fixed #2485 (find blocks and text-entry mode feature) +* gui: fixed ProjectDialog's search field behavior for IME ### 2019-10-11 * objects, threads: accept a list of pixels in the SWITCH TO COSTUME block diff --git a/snap.html b/snap.html index 942eec80..3ff66b10 100755 --- a/snap.html +++ b/snap.html @@ -9,7 +9,7 @@ - + diff --git a/src/gui.js b/src/gui.js index 2f230959..4959bf05 100644 --- a/src/gui.js +++ b/src/gui.js @@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2019-October-09'; +modules.gui = '2019-October-14'; // Declarations @@ -6421,7 +6421,7 @@ ProjectDialogMorph.prototype.buildFilterField = function () { this.body.add(this.magnifyingGlass); this.body.add(this.filterField); - this.filterField.reactToKeystroke = function (evt) { + this.filterField.reactToInput = function (evt) { var text = this.getValue(); myself.listField.elements =