Skip to content

Commit

Permalink
fixed #3403 editing a primitive and changing a default input
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Oct 12, 2024
1 parent 746a22c commit e239cf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
## in development:
* **Notable Fixes:**
* only bind rings that replace list items to the list as environment if they are referred to by a non-numerical index (OOP 2.0)
* fixed #3403 editing a primitive and changing a default input

### 2024-09-12
* threads: only bind rings replaced in a list to the list as environment if they are referred to by a non-numerical index (OOP 2.0)
* objects: fixed #3403 editing a primitive and changing a default input

## 10.1.1:
* **Notable Fixes:**
Expand Down
2 changes: 1 addition & 1 deletion snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="src/widgets.js?version=2024-07-24"></script>
<script src="src/blocks.js?version=2024-10-11"></script>
<script src="src/threads.js?version=2024-10-12"></script>
<script src="src/objects.js?version=2024-10-11"></script>
<script src="src/objects.js?version=2024-10-12"></script>
<script src="src/scenes.js?version=2024-05-28"></script>
<script src="src/gui.js?version=2024-10-12"></script>
<script src="src/paint.js?version=2023-05-24"></script>
Expand Down
3 changes: 2 additions & 1 deletion src/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ CustomBlockDefinition, exportEmbroidery*/

/*jshint esversion: 11*/

modules.objects = '2024-October-11';
modules.objects = '2024-October-12';

var SpriteMorph;
var StageMorph;
Expand Down Expand Up @@ -3376,6 +3376,7 @@ SpriteMorph.prototype.blockForSelector = function (selector, setDefaults) {
if (setDefaults) {
block.refreshDefaults(info.definition);
}
return block;
} else {
block = info.type === 'command' ? new CommandBlockMorph()
: info.type === 'hat' ? new HatBlockMorph()
Expand Down

0 comments on commit e239cf0

Please sign in to comment.