kopia lustrzana https://github.com/backface/turtlestitch
sort custom category menu ("delete a category") alphabetically
rodzic
b084915590
commit
fc586e7af4
|
@ -44,6 +44,7 @@
|
|||
* gui, byob, objects: scroll custom category buttons if there are more than 6
|
||||
* gui, byob: scroll selected custom category button into view
|
||||
* gui: fixed "show categories" setting display
|
||||
* gui: sort custom category menu ("delete a category") alphabetically
|
||||
|
||||
### 2021-10-12
|
||||
* scenes, store: store single palette setting per project (for making extensions)
|
||||
|
|
|
@ -4996,7 +4996,11 @@ IDE_Morph.prototype.deleteUserCategory = function () {
|
|||
null,
|
||||
this
|
||||
);
|
||||
SpriteMorph.prototype.customCategories.forEach((clr, name) =>
|
||||
|
||||
// sort alphabetically
|
||||
Array.from(
|
||||
SpriteMorph.prototype.customCategories.keys()
|
||||
).sort().forEach(name =>
|
||||
menu.addItem(
|
||||
name,
|
||||
name,
|
||||
|
|
Ładowanie…
Reference in New Issue