Steps to reproduce:
1. Open the attached project MinMaxSliderUndoTest
2. Click MinMaxSliderUndoTest->Open window if TestWindow is not already open
3. Drag the min value handle of the MinMaxSlider in the window to change the value
4. Drag the max value handle of the MinMaxSlider in the window to change the value
5. Undo by pressing cmd+z/ctrl+z or clicking Edit->Undo Modified Test Vector in Test Object
Actual results: Both the value changes in step 3 and 4 are undone as one.
Expected results: Only the value change in step 4 is undone and one more undo would be required to undo the value change in step 3 and get back to the initial state
Reproducible with versions: 2022.3.29f1, 6000.0.3f1
Not reproducible with versions: 2021.3.39f1
Can’t test with versions: None
Tested on (OS): macOS Sonoma 14.4.1
Notes:
- Dragging the entire bar (i.e. changing both min and max values together) seems to be working as correctly with undo
- This issue was originally discovered in the editor window for the AudioRandomContainer asset, repro steps:
- Click Assets->Create->Audio->AudioRandomContainer to create an AudioRandomContainer asset
- Click on the randomizer toggle (dice icon button) of the volume property to enable randomization of it
- Drag the left handle of the randomization slider setting min to any value below 0
- Drag the right handle of the randomization slider setting max to any value above 0
- Undo