From dc4bc48302e195b79358e25b207c825d438d7f49 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 12 Oct 2021 18:53:17 +0800 Subject: [PATCH] select sender by name --- public/global.css | 1 - src/App.svelte | 17 +++++ src/Name.svelte | 188 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 205 insertions(+), 1 deletion(-) create mode 100644 src/Name.svelte diff --git a/public/global.css b/public/global.css index bb28a94..07b972a 100644 --- a/public/global.css +++ b/public/global.css @@ -9,7 +9,6 @@ body { margin: 0; padding: 8px; box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } a { diff --git a/src/App.svelte b/src/App.svelte index 19d589b..2251362 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,6 +1,7 @@ + +
has_mouse=true} on:mouseleave={() => has_mouse=false}> + has_focus=true} on:blur={() => {has_focus=false;update_value()}} on:keydown={select_by_key}/> + + +
+ +