Commit Graph

2 Commits

Author SHA1 Message Date
jessequ fbfe167cdc fix: unify NumberBox drag behavior to prevent value jumps in limited mode
The limited drag mode used absolute mouse position to compute the
  value (min + xPercent * range), causing an immediate jump away from
  the property's current value at drag start. Unify both modes to use
  the relative offset formula (number + offset * step), with the
  limited mode only adding min/max clamping on top. Also removes the
  cursor-constraining logic that was specific to the old absolute mode.
2026-07-31 16:55:05 +08:00
Jesse Qu 5d2caba154 Add property-editor function. 2026-07-03 15:58:09 +08:00