feat(ui): add mouse wheel cycling for select dropdowns, range sliders, and number inputs
Build Windows Installer / build (push) Successful in 10m49s
Build Windows Installer / build (push) Successful in 10m49s
This commit is contained in:
4 files changed
+208
-1
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import './style.css';
|
||||
import { dict, type Lang } from './i18n.ts';
|
||||
import { clampTrimRange, formatBytes, formatTimecode, parseTimecode } from './timecode.ts';
|
||||
import { bindWheelControls } from './wheel.ts';
|
||||
import type {
|
||||
AppInfo,
|
||||
ConvertRequest,
|
||||
@@ -1283,6 +1284,8 @@ function bindEvents() {
|
||||
el<'button'>('playOutBtn').addEventListener('click', () => {
|
||||
if (state.donePath) void api?.OpenOutputFile(state.donePath);
|
||||
});
|
||||
|
||||
bindWheelControls();
|
||||
}
|
||||
|
||||
function setupWailsEvents() {
|
||||
|
||||
Reference in new issue
Block a user