Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support For Adjusting Property Values With Arrow Keys #118

Open
phaze-ZA opened this issue Apr 21, 2023 · 2 comments
Open

Add Support For Adjusting Property Values With Arrow Keys #118

phaze-ZA opened this issue Apr 21, 2023 · 2 comments

Comments

@phaze-ZA
Copy link

Please could you add support for arrow keys when adjusting property values. It was a really useful feature in the previous version.
Ideally it could follow the shortcuts for chrome devtools (https://developer.chrome.com/docs/devtools/shortcuts/):
Up Arrow/Down Arrow -> Increment/Decrement by 1
Alt (or Option for MacOS) + Up Arrow/Down Arrow -> Increment/Decrement by 0.1
Shift + Up Arrow/Down Arrow -> Increment/Decrement by 10
Ctrl (or Command for MacOS) + Up Arrow/Down Arrow -> Increment/Decrement by 100

I am currently using Chrome (112.0.5615.49 ) on MacOS and Pixi Devtools version 2.6.1

@bfanger
Copy link
Owner

bfanger commented Apr 27, 2023

The previous version tried to mimic the interface of the style panel, which has the keyboard behavior you've described.

The new version is based on the Blender interface. It uses mouse-drag to quickly find the desired value. The drag has shift, ctrl and ctrl+shift modifiers.

I'm hessitant to add the keyboard-to-increment feature, as the up and shift+up already have defined behavior (to-begin and select-to-begining) and it would make upcoming features like calculations more difficult to implement

@phaze-ZA
Copy link
Author

Ah okay yeah that makes sense. I didn't realise there were the ctrl, shift and ctrl+shift modifiers for the drag feature, but will give that a go, thanks!

One thing to mention though is: I see there are arrows that look clickable, however clicking on them doesn't seem to adjust the value - is this intended behaviour?

bfanger added a commit that referenced this issue Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants