Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.69k stars 2.98k forks source link

Odd visual bug when trying to type on a payload source whilst paused #10058

Closed Twcash closed 3 months ago

Twcash commented 3 months ago

Platforms

Windows

Build

25138 BE

Issue

https://github.com/user-attachments/assets/0fbfef47-58cd-4f42-862b-6c614721c5fe

Payload sources have a weird visual bug when trying to type when paused

Steps to reproduce

1: build a payload source 2: pause game 3: move camera from player 4: click on payload source search bar

Mods used

noe

Save file

payloadSourceBug.zip

(Crash) logs

No response

Submission

Twcash commented 3 months ago

Yes this is done on one of my branches but this also happens on the newest BE

Twcash commented 3 months ago

https://github.com/user-attachments/assets/42aece27-1d64-4bcd-8031-09fc0c9d5078

JasonP01 commented 3 months ago

Its tryna go back to your unit, thats weird behavior

JasonP01 commented 3 months ago

Does this happen in 146? It would be weird if this got introduced in after

Twcash commented 3 months ago

I looked at the source code and I couldn't find what was causing it. It's pretty annoying for me

Twcash commented 3 months ago

annd it happens on 146 and BE

Anuken commented 3 months ago

Doesn't happen to me. Do you have left-click bound to panning the camera, maybe? If so, that's your issue - it tries to pan to the camera for a split second until the field is focused.