Added prevent default on Ctrl+b

This commit is contained in:
EpicKiwi
2023-08-29 22:56:22 +02:00
parent 368e668197
commit 85093be362

View File

@ -316,6 +316,7 @@ export class Editor {
// This is the modal to switch between universes
if (event.ctrlKey && event.key === "b") {
event.preventDefault();
this.hideDocumentation();
this.updateKnownUniversesView();
this.openBuffersModal();