fix(widget-editors): update DragValueController logic and build

This commit is contained in:
AEmotionStudio
2026-01-17 17:59:00 -08:00
parent a424abf045
commit 1a4b6b8a23
3 changed files with 5 additions and 5 deletions
@@ -26,8 +26,8 @@ export interface DragConfig {
const DRAG_SENSITIVITY = {
// Pixels to drag for one step change (applies to all numeric types)
pixelsPerStep: 10,
// Minimum pixels to trigger option cycle for combos
comboThreshold: 40,
// Minimum pixels to trigger option cycle for combos (increased to prevent accidental cycling)
comboThreshold: 60,
};
/**
@@ -6,8 +6,8 @@ import { Logger } from "../../shared/logger.js";
const DRAG_SENSITIVITY = {
// Pixels to drag for one step change (applies to all numeric types)
pixelsPerStep: 10,
// Minimum pixels to trigger option cycle for combos
comboThreshold: 40
// Minimum pixels to trigger option cycle for combos (increased to prevent accidental cycling)
comboThreshold: 60
};
class DragValueController {
constructor(element, config) {
File diff suppressed because one or more lines are too long