Skip to content

Commit

Permalink
fix: command bar behavious
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 committed Jun 10, 2024
1 parent 9f114fa commit f96259e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const isMouseOver = ref(false);
const isSelectingCommand = ref(false);
const onRunCommand = () => {
if (isCommandPanelShown.value && selectedCommandIndex.value >= 0) {
if (isCommandPanelShown.value) {
const commandComponents = commandText.value.split(" ").filter((x) => x);
const commandStr = commandComponents[0].trim();
const commandID = commandStr.substring(1).trim();
Expand Down

0 comments on commit f96259e

Please sign in to comment.