• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

How can I unfocus a custom UI button?

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,853
Hello, I made a custom UI button, but when I press it, I have the focus to it until I right-click to other place and its annoying when I wanna use the keyboard, how can I unfocus it after press it?
1672623471980.png
 
Level 24
Joined
Jun 26, 2020
Messages
1,853
You move the camera with the arrow keys and while doing that you click the custom button with the mouse. Then before releasing the mouse click you release the arrow key. That arrow key release is not detected by the game and it continues the camera moving.
I see, its a bug that also happened to me even with normal buttons, but its not like I need to fix it, because can be stopped just pressing once the arrow key again.
 
Status
Not open for further replies.
Top