Skip to content

Add shortcut to the 'Create a new rectangle' collider button in TileSet editor

This is a quick idea on how to fix #28123. Basically just adds a shortcut to the following button. See the linked issue for more details on why this is needed (or some other workaround)

image

I don't actually expect this to be merged as is, because it would probably make sense to add the shortcuts to all the buttons. And I'm willing to go through it and do that, but I'd first like to hear from someone that it's the right thing to do :)

Or if you guys have a better idea on how to fix the issue, I don't really mind. The reason I did it this way was to basically quickly fix it for myself so I don't go crazy from doing it by hand.

It also brings out a question. It probably would make sense to have all of these buttons configurable in the editor settings, right? Even without a default hotkey, I'm not sure if there is any harm of having them available in the Shortcuts menu and unbound by default if no good hotkey comes to mind.

Merge request reports