This commit is contained in:
Pavel Laptev 2023-12-07 17:24:56 +01:00 committed by GitButler
parent 39d4b5f861
commit 6dfc9203fa

View File

@ -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>