Forums » Bugs
Zoom Key Resets FOV where it shouldn't
The Zoom key will reset your fov to 75 if you press it anywhere, even if the HUD doesn't have focus, which it shouldn't.
Yes, this happens even while typing, for instance, if I have set fov to 65, and I type in the chatbox (or console) Hi VO, it will reset me back to 75.
heh cool.
I assumed it's like that because it might be bound to keys not used for typing, say joystick or mouse buttons (which should work even if you are in chat).
Tho now i see i may have been wrong... >.>
Tho now i see i may have been wrong... >.>
It's because the key-up events are sent regardless of context, in order to prevent keys from "sticking"; e.g. you press a key, change context (say, open a menu), release it, and return to your original context (exit the menu), and the key is "stuck".
The "zoom" thing is a stupid hack which reduces your FOV on key-down, and then set it back on key-up. Except it just hardcodes those values.
The "zoom" thing is a stupid hack which reduces your FOV on key-down, and then set it back on key-up. Except it just hardcodes those values.
Can you suggest a better way to do the zoom than the stupid hack?