Skip to content

Commit

Permalink
fixed a variadic input slot arrow layout bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Nov 12, 2024
1 parent 934bde2 commit c8c655d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## in development:

## 10.2.4:
* **Notable Fixes:**
* fixed a variadic input slot arrow layout bug

## 10.2.3:
* **New Features:**
* expose a copy of the custom block as "caller" to input slot reaction scripts inside custom block definitions
Expand Down
2 changes: 1 addition & 1 deletion src/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -14310,7 +14310,7 @@ MultiArgMorph.prototype.fixArrowsLayout = function () {
label.hide();
}
leftArrow.hide();
if (this.minInputs === this.maxInputs) {
if (this.minInputs && this.minInputs === this.maxInputs) {
rightArrow.hide();
}
if (this.isStatic) {
Expand Down
2 changes: 1 addition & 1 deletion src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ modules.gui = '2024-November-12';

// Declarations

var SnapVersion = '10.2.3';
var SnapVersion = '10.2.4';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*global self, caches*/
/*jshint esversion: 6*/
var snapVersion = '10.2.3',
var snapVersion = '10.2.4',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit c8c655d

Please sign in to comment.