Skip to content

Commit

Permalink
fixed a typo in 'noDefaultCat' configuration setting
Browse files Browse the repository at this point in the history
thanks, Emmanuel, for the report!
  • Loading branch information
jmoenig committed Oct 11, 2023
1 parent 253f87f commit 4bbedcf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Snap! (BYOB) History

## in development:
* **Notable Fixes:**
* fixed a typo in 'noDefaultCat' configuration setting, thanks, Emmanuel, for the report!

2023-10-11
* new dev version
* gui: fixed a typo in 'noDefaultCat' configuration setting, thanks, Emmanuel, for the report!

## 9.0.7:
* **Translation Updates:**
Expand Down
2 changes: 1 addition & 1 deletion snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="src/threads.js?version=2023-09-14"></script>
<script src="src/objects.js?version=2023-07-14"></script>
<script src="src/scenes.js?version=2022-10-25"></script>
<script src="src/gui.js?version=2023-10-09"></script>
<script src="src/gui.js?version=2023-10-11"></script>
<script src="src/paint.js?version=2023-05-24"></script>
<script src="src/lists.js?version=2023-07-18"></script>
<script src="src/byob.js?version=2023-07-14"></script>
Expand Down
8 changes: 4 additions & 4 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions, snapEquals

// Global stuff ////////////////////////////////////////////////////////

modules.gui = '2023-October-09';
modules.gui = '2023-October-11';

// Declarations

var SnapVersion = '9.0.7';
var SnapVersion = '9.0.8-dev';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down Expand Up @@ -245,7 +245,7 @@ function IDE_Morph(config = {}) {
mode: str, currently "presentation" or "edit"
hideControls: bool, hide/show the tool bar
hideCategories: bool, hide/show the palette block category buttons
hideDefaultCat: bool, hide/show the buit-in bloc category buttons
noDefaultCat: bool, hide/show the buit-in bloc category buttons
noSpriteEdits: bool, hide/show the corral & sprite controls/menus
noSprites: bool, hide/show the stage, corral, sprite editor
noPalette: bool, hide/show the palette including the categories
Expand Down Expand Up @@ -1537,7 +1537,7 @@ IDE_Morph.prototype.createCategories = function () {
: changePalette,
categoryQueryAction = this.scene.unifiedPalette ? queryTopCategory
: queryCurrentCategory,
shift = this.config.hideDefaultCat ? 4 : 0,
shift = this.config.noDefaultCat ? 4 : 0,
flag = true;

if (this.categories) {
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var snapVersion = '9.0.7',
var snapVersion = '9.0.8-dev',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit 4bbedcf

Please sign in to comment.