Files
max chen 56ffdc770f Property Editor: Added ctrl/shift multiplier increments to spin box. Default behavior is: Shift multiplies the value by 10, Ctrl multiplies the value by 0.1.
These are the changes in existing behavior:
- ShiftMouseMovePixelPerDelta has been deprecated in favor of these new mechanisms of ShiftMultiplier and CtrlMultiplier.
- SupportDynamicSliderMaxValue and SupportDynamicSliderMinValue now activate with Alt instead of Ctrl so that Ctrl can be used for CtrlMultiplier.
- OnMouseWheel had hardcoded ctrl/shift step increments and these now follow the ShiftMultiplier and CtrlMultiplier attributes.

There are two changes required so that snapping to the Delta attribute does not occur when using ShiftMultiplier and CtrlMultiplier:
- OnMouseMove commits the value by CommittedViaSpinMultiplier
- OnMouseButtonUp detects that the mouse event either has Shift or Ctrl

#jira UE-195384
#rb Patrick.Boutot, Vincent.Gauthier

[CL 30962682 by max chen in 5.4 branch]
2024-01-28 23:20:19 -05:00
..