From 28661f28bc41621fc828ee0187feabbb98a5d51c Mon Sep 17 00:00:00 2001 From: Knotty Wyvern Date: Sat, 31 Oct 2026 19:06:45 -0700 Subject: [PATCH] Draw the browser scroll marker with the scroll icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Middle-click scrolling in the built-in browser showed the text arrow "↕" at 20 px in a 24 px circle. The look of that glyph depends on the font, and the circle cut it. It also showed only two directions, but the scroll moves in four. The marker now uses the four-way scroll icon of Project Management, which the shared Icon component also gets. The marker has the size of the Project Management marker: a 26 px circle with a 20 px icon. The interaction smoke test checks the icon and keeps screenshots in both themes. Card ac49c9ec. --- src/lib/browser/Browser.svelte | 4 ++-- src/lib/ui/Icon.svelte | 2 ++ src/lib/ui/IconButton.svelte | 1 + tests/smoke/browser/interaction.smoke.mjs | 8 ++++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/lib/browser/Browser.svelte b/src/lib/browser/Browser.svelte index 73e39b8..44e956c 100644 --- a/src/lib/browser/Browser.svelte +++ b/src/lib/browser/Browser.svelte @@ -304,7 +304,7 @@ oninput={() => { if (!composing && textInput.value) { void orderedInput('insertText', { text: textInput.value }); textInput.value = ''; } }} onblur={stopScroll}> {#if image && ready && !blank}{$t("Web{/if} - {#if scrollAnchor}{/if} + {#if scrollAnchor}{/if}