-
Notifications
You must be signed in to change notification settings - Fork 51
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
Allow opening context menu by right clicking when AI are selected #481
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the context menu is open with a unit or group selected and I right-click somewhere it will place a waypoint, I expected a new context menu to be opened or the current to be closed. It doesn't place a waypoint every time, it seems to be acting quite random when it does and when it opens the context menu in a different place.
The previously mentioned issue is also a thing without selecting anything. Right-clicking will randomly not open the context menu and move the camera around. I think this may be an issue with incorrectly detecting the right click. |
Can't reproduce. Moving the camera part is intentional since the context menu should not be opened if camera panning was started between RMB down and up events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it is just down to the tiniest movement being detected between button-down and up.
When merged this pull request will:
false
)tvSelection
andtvSetSelected
script commands available on dev branch