perf(ui): Increase scroll speed from 8x to 12x

- Increased scroll multiplier to 12x for significantly faster navigation
- Reduces mouse wheel rolling needed to navigate long settings panels
- Maintains control while providing much faster scrolling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stu Leak 2025-12-31 19:32:23 -05:00
parent 6cd5e01fbe
commit 920d17ddbb
3 changed files with 5 additions and 5 deletions

View File

@ -454,11 +454,11 @@ func (f *FastVScroll) CreateRenderer() fyne.WidgetRenderer {
}
func (f *FastVScroll) Scrolled(ev *fyne.ScrollEvent) {
// Multiply scroll speed by 8x for fast navigation without instability
// Multiply scroll speed by 12x for much faster navigation
fastEvent := &fyne.ScrollEvent{
Scrolled: fyne.Delta{
DX: ev.Scrolled.DX * 8.0,
DY: ev.Scrolled.DY * 8.0,
DX: ev.Scrolled.DX * 12.0,
DY: ev.Scrolled.DY * 12.0,
},
}
f.scroll.Scrolled(fastEvent)

View File

@ -8480,7 +8480,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
// Wrap simple options with settings box at top
simpleWithSettings := container.NewVBox(settingsBox, simpleOptions)
// Both Simple and Advanced get their own fast scrolling (8x speed)
// Both Simple and Advanced get their own fast scrolling (12x speed)
simpleScrollBox := ui.NewFastVScroll(simpleWithSettings)
advancedScrollBox := ui.NewFastVScroll(advancedOptions)

View File

@ -165,7 +165,7 @@ func buildSettingsView(state *appState) fyne.CanvasObject {
)
tabs.SetTabLocation(container.TabLocationTop)
// Single fast scroll container for entire tabs area (8x speed)
// Single fast scroll container for entire tabs area (12x speed)
scrollableTabs := ui.NewFastVScroll(tabs)
return container.NewBorder(topBar, bottomBar, nil, nil, scrollableTabs)