-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change command behavior for monacos
- Loading branch information
1 parent
ad0ffb5
commit 0a67d3f
Showing
5 changed files
with
32 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
frontend/src/lib/components/flows/header/FlowEditorHeader.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,9 @@ | ||
<script lang="ts"> | ||
import { flowStore } from '$lib/components/flows/flowStore' | ||
import { faPen } from '@fortawesome/free-solid-svg-icons' | ||
import Icon from 'svelte-awesome' | ||
import FlowPreviewButtons from './FlowPreviewButtons.svelte' | ||
import FlowStatus from './FlowStatus.svelte' | ||
import { getContext } from 'svelte' | ||
import type { FlowEditorContext } from '../types' | ||
const { select } = getContext<FlowEditorContext>('FlowEditorContext') | ||
</script> | ||
|
||
<div class="flex justify-between items-center border-y p-2 px-4 space-x-2"> | ||
<div id="flow_title" class="flex justify-between items-center"> | ||
<button on:click={() => select('settings')}> | ||
<span class="font-mono text-sm"> {$flowStore.path}</span> | ||
<Icon | ||
data={faPen} | ||
scale={0.8} | ||
class="text-gray-500 ml-2 flex justify-center items-center mb-0.5" | ||
/> | ||
</button> | ||
</div> | ||
<FlowStatus /> | ||
<FlowPreviewButtons /> | ||
</div> |