From 5ca6bb9109a38c6aeb018314ea18b15cc3791584 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 3 Jan 2022 18:36:43 +0100 Subject: [PATCH] fixed #2950, thanks, Mary! --- HISTORY.md | 4 +++- src/objects.js | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index c60e2b00..591f3f2f 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -13,6 +13,7 @@ * fixed variable binding when broadcasting through the API, thanks, Zak! * fixed programmatically hiding palette blocks using the "hide variable" block, thanks, Zak! * fixed / worked around PWA caching for URLs with query parts, thanks, Ken! + * added missing "identical to" relabel option to "less than" reporter, thanks, Mary! * **Documentation Updates:** * **Translation Updates:** * Italian, thanks, Stefano! @@ -23,7 +24,8 @@ * objects: fixed programmatically hiding palette blocks using the "hide variable" block, thanks, Zak! * threads, api: made "When I receive any messagge" non-thread-safe by default (again) to enable tail recursive broadcasts * threads, extensions: improved handling of user-defined errors and errors inside custom blocks -* sw.js: fixed #2957, thanks, Ken! +* sw.js: fixed #2957, thanks, Ken! +* objects: fixed #2950, thanks, Mary! ### 2022-01-02 * store: fixed storing the stage name(s) diff --git a/src/objects.js b/src/objects.js index bcfba373..533583ee 100644 --- a/src/objects.js +++ b/src/objects.js @@ -1793,7 +1793,8 @@ SpriteMorph.prototype.blockAlternatives = { reportMax: ['reportMin', 'reportSum', 'reportDifference', 'reportProduct', 'reportQuotient', 'reportPower', 'reportModulus', 'reportAtan2'], reportLessThan: ['reportLessThanOrEquals', 'reportEquals', - 'reportNotEquals', 'reportGreaterThan', 'reportGreaterThanOrEquals'], + 'reportIsIdentical', 'reportNotEquals', 'reportGreaterThan', + 'reportGreaterThanOrEquals'], reportEquals: ['reportIsIdentical', 'reportNotEquals', 'reportLessThan', 'reportLessThanOrEquals', 'reportGreaterThan', 'reportGreaterThanOrEquals'],