diff --git a/HISTORY.md b/HISTORY.md
index 467b52ba..e44f2475 100755
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -67,6 +67,7 @@
### 2021-11-24
* threads: fixed #2918
* gui, objects, scenes: added scene-setting to hide/show buttons in the unified palette
+* store: made "show buttons" setting for unified palette persistent in the XML
### 2021-11-23
* byob: refresh category buttons when hiding / showing blocks
diff --git a/snap.html b/snap.html
index 29860f01..6f73fd06 100755
--- a/snap.html
+++ b/snap.html
@@ -30,7 +30,7 @@
-
+
diff --git a/src/store.js b/src/store.js
index 891fe83b..41f5cb49 100644
--- a/src/store.js
+++ b/src/store.js
@@ -63,7 +63,7 @@ Project*/
// Global stuff ////////////////////////////////////////////////////////
-modules.store = '2021-November-16';
+modules.store = '2021-November-24';
// XML_Serializer ///////////////////////////////////////////////////////
/*
@@ -380,6 +380,7 @@ SnapSerializer.prototype.loadScene = function (xmlNode, remixID) {
}
scene.unifiedPalette = model.scene.attributes.palette === 'single';
scene.showCategories = model.scene.attributes.categories !== 'false';
+ scene.showPaletteButtons = model.scene.attributes.buttons !== 'false';
scene.disableClickToRun = model.scene.attributes.clickrun === 'false';
scene.penColorModel = model.scene.attributes.colormodel === 'hsl' ?
'hsl' : 'hsv';
@@ -1733,7 +1734,7 @@ Scene.prototype.toXML = function (serializer) {
}
xml = serializer.format(
- '' +
+ '' +
'$' +
'%' +
'$' +
@@ -1747,6 +1748,8 @@ Scene.prototype.toXML = function (serializer) {
this.unifiedPalette ? ' palette="single"' : '',
this.unifiedPalette && !this.showCategories ?
' categories="false"' : '',
+ this.unifiedPalette && !this.showPaletteButtons ?
+ ' buttons="false"' : '',
this.disableClickToRun ? ' clickrun="false"' : '',
this.penColorModel === 'hsl' ? ' colormodel="hsl"' : '',
this.notes || '',