baku89 / ui-study

Parameters UI Study
MIT License
220 stars 10 forks source link

Shift #2

Open Martin-Pitt opened 6 years ago

Martin-Pitt commented 6 years ago

I was testing the inputs and it might be good to try normalise shift for snapping across all of the visual widgets, I noticed a few didn't have this functionality.

I like the shift-up/down behaviour for text input fields for incrementing and decrementing in larger steps of 10. Although I'm wondering if it might help to adjust the step amounts based on context? E.g. turn and deg units in CSS rotations might benefit from adjust amounts, such as 15deg steps for larger jumps using shift modifier.

baku89 commented 6 years ago

Thank you for your detailed feedback..! I agree with your idea to adjust the step amounts based on context and just updated.

baku89 commented 6 years ago

@Martin-Pitt

So, I've been wondering which role should shift key be assigned. Looking at some applications such as AfterEffects and Illustrator, functionalities of shift key can be classified as below:

  1. Change values with larger steps (ex. when dragging number field of AE)
  2. Keep ratio (ex. resizing a bounding box)
  3. Quantize values (ex. when rotating rotary knobs on Effect Control Panel of AE)

I would like to give each modifier keys consistent behaviors. How do you think that shift key behaves like (3) in all case dragging the visual widgets? I wonder if there's any smart way to change step amounts for them without conflicting (3) role of shift key.

The ladder UI of Houdini might be a hint, though. http://www.sidefx.com/docs/houdini/basics/ladder.html