Skip to content

Commit

Permalink
prepared v10.1.4 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Oct 13, 2024
1 parent e232916 commit c5b30ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## in development:

## 10.1.4:
* **Notable Fixes:**
* fixed a dictionary lookup glitch for primitive block palettes

### 2024-09-13
* objects: fixed another dictionary lookup glitch for primitive palettes
* prepared v10.1.4 patch

## 10.1.3:
* **Notable Fixes:**
* fixed a dictionary lookup glitch for custom block categories
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-October-13';

// Declarations

var SnapVersion = '10.1.3';
var SnapVersion = '10.1.4';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
4 changes: 3 additions & 1 deletion src/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -4157,7 +4157,9 @@ SpriteMorph.prototype.getPrimitiveTemplates = function (category) {
};

SpriteMorph.prototype.palette = function (category) {
if (!Object.hasOwn(this.paletteCache, category)) {
if (!Object.hasOwn(this.paletteCache, category) ||
!this.paletteCache[category]
) {
this.paletteCache[category] = this.freshPalette(category);
}
return this.paletteCache[category];
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.1.3',
var snapVersion = '10.1.4',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit c5b30ba

Please sign in to comment.