commented out saving the unified palette setting in the project xml during development

snap7
jmoenig 2021-07-08 09:30:30 +02:00
rodzic c8cd14eecd
commit 8a9888061e
3 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -24,6 +24,7 @@
* objects: added category labels to unified palette
* gui: accelerated unified palette scrolling animation
* adjust scroll bars when refreshing the palette
* store: commented out saving the unified palette setting in the project xml during development
### 2021-07-07
* morphic, gui: tweaked perish() animation

Wyświetl plik

@ -22,7 +22,7 @@
<script src="src/maps.js?version=2021-06-15"></script>
<script src="src/extensions.js?version=2021-07-05"></script>
<script src="src/xml.js?version=2021-07-05"></script>
<script src="src/store.js?version=2021-07-06"></script>
<script src="src/store.js?version=2021-07-08"></script>
<script src="src/locale.js?version=2021-07-06"></script>
<script src="src/cloud.js?version=2021-02-04"></script>
<script src="src/api.js?version=2021-07-05"></script>

Wyświetl plik

@ -63,7 +63,7 @@ Project*/
// Global stuff ////////////////////////////////////////////////////////
modules.store = '2021-July-06';
modules.store = '2021-July-08';
// XML_Serializer ///////////////////////////////////////////////////////
/*
@ -376,7 +376,8 @@ SnapSerializer.prototype.loadScene = function (xmlNode, remixID) {
}
scene.name = 'Untitled ' + nameID;
}
scene.unifiedPalette = model.scene.attributes.palette === 'single';
// unified palette persistence commented out during development:
// scene.unifiedPalette = model.scene.attributes.palette === 'single';
model.notes = model.scene.childNamed('notes');
if (model.notes) {
scene.notes = model.notes.contents;
@ -1692,7 +1693,8 @@ Scene.prototype.toXML = function (serializer) {
'%' + // stage
'</scene>',
this.name || localize('Untitled'),
this.unifiedPalette ? ' palette="single"' : '',
'', // unified palette persistence commented out during development
// this.unifiedPalette ? ' palette="single"' : '',
this.notes || '',
Object.keys(StageMorph.prototype.hiddenPrimitives).reduce(
(a, b) => a + ' ' + b,