Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
hahahaag

Deselect item using Shift

Recommended Posts

Hey,

 

I noticed that you can select/deselect multiple items using Control, but using Shift you can only select items, which looks weird.

So just to share, I fixed this, on line 1049 change this:

 

if (isKeyDown(Keyboard.CONTROL)) {

 

For this:

 

if (isKeyDown(Keyboard.CONTROL) || isKeyDown(Keyboard.SHIFT)) {

 

It worked for me.

 

Cheers,

Sandro

Link to comment
Share on other sites

Yeah, it's very common for users to want to hold the SHIFT key down to multi-select, but you're welcome to disable that if you prefer.

Link to comment
Share on other sites

Yes, and I want to do that, but the thing is that if you hold the SHIFT key and click on an item that is already selected, it doesn't deselect (like the CONTROL key works). That's what I fixed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×