mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-29 12:33:49 +03:00
Fix
This commit is contained in:
parent
39d4b5f861
commit
6dfc9203fa
@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
export let name: string;
|
||||
let activeInput = false;
|
||||
let focusLabel = false;
|
||||
let label: HTMLDivElement;
|
||||
let input: HTMLInputElement;
|
||||
|
||||
@ -11,7 +10,6 @@
|
||||
}
|
||||
|
||||
function selectNameLabel() {
|
||||
focusLabel = true;
|
||||
setTimeout(() => label.focus(), 0);
|
||||
}
|
||||
</script>
|
||||
@ -45,7 +43,6 @@
|
||||
class="branch-name text-base-13 truncate"
|
||||
on:keydown={activate}
|
||||
on:click={activate}
|
||||
on:blur={() => (focusLabel = false)}
|
||||
>
|
||||
{name}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user