mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
nit app focus
This commit is contained in:
@@ -335,7 +335,15 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:window on:keydown={handleKeyDown} on:keyup={handleKeyUp} />
|
||||
<svelte:window
|
||||
on:focus={() => {
|
||||
if ($isCtrlOrMetaPressedStore) {
|
||||
$isCtrlOrMetaPressedStore = false
|
||||
}
|
||||
}}
|
||||
on:keydown={handleKeyDown}
|
||||
on:keyup={handleKeyUp}
|
||||
/>
|
||||
|
||||
<div
|
||||
class="svlt-grid-container"
|
||||
|
||||
Reference in New Issue
Block a user