Garux / netradiant-custom

The open-source, cross-platform level editor for id Tech based games.
https://garux.github.io/NRC/
Other
334 stars 59 forks source link

Texture keyboard shortcuts not working with Surface Inspector window open #147

Closed negke closed 1 year ago

negke commented 1 year ago

Several texture-related keyboard shortcuts don't seem to work when the Surface Inspector window is open, the ones using arrow Up or Down and PageUp/PageDown. TexScaleUp/Down, TexShiftUp/Down, TexRotateClock/Counter. Once the window is closed, they do. TexScaleLeft/Right and TexShiftLeft/Right work as intended in both conditions. I'm using the floating window layout if that's relevant. Must have been introduced in one of the last two builds, possibly some GTK thing?

Garux commented 1 year ago

Do you mean with Surface Inspector having focus? I actually filter some keys needed for GUI elements functioning https://github.com/Garux/netradiant-custom/blob/07f66499dd6894297f677057dfb05579b6954530/radiant/surfacedialog.cpp#L619 Also doing this in other nonmodal dialogs. Would need to be more precise there to get named shortcuts working.

negke commented 1 year ago

Yes, I mean when the widow is focused.

Garux commented 1 year ago

Gotta work now.