Skip to content

Commit

Permalink
Fixed sorting of sketches and examples - ignore case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-Brzuzek authored and kittaakos committed Mar 18, 2021
1 parent 1e0f52b commit f6e623c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export abstract class Examples extends SketchContribution {
}
};
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)));
}
}
Expand Down

0 comments on commit f6e623c

Please sign in to comment.