Fixed sorting of sketches and examples - ignore case

issue #185
This commit is contained in:
Sebastian Brzuzek 2021-03-15 15:03:50 +01:00 committed by Akos Kitta
parent 1e0f52bbdd
commit f6e623ca9c

View File

@ -100,7 +100,7 @@ export abstract class Examples extends SketchContribution {
} }
}; };
pushToDispose.push(this.commandRegistry.registerCommand(command, handler)); pushToDispose.push(this.commandRegistry.registerCommand(command, handler));
this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name }); this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name, order: sketch.name.toLocaleLowerCase() });
pushToDispose.push(Disposable.create(() => this.menuRegistry.unregisterMenuAction(command))); pushToDispose.push(Disposable.create(() => this.menuRegistry.unregisterMenuAction(command)));
} }
} }