Cancel keyboard events when SFM text editor screen is open
TeamDman opened this issue · 0 comments
Mirzero — 12:21 PM
Is there a way to make it so that pressing g while editing an SFM script doesn't close the script, losing the changes I was making? Yes, I normally work on the scripts in like VSC, but I was trying to make a quick edit
https://discord.com/channels/254530689225981953/1242640462217613313/1404499876355641485
Curios mod opens their GUI when G is pressed, losing progress in our GUI.
We should be able to subscribe to the same event with high priority and cancel it when we detect a SFM text edit GUI screen as the active screen.