feat: when reloading code with ctrl + s the window is still being focused
Closed this issue · 4 comments
amyspark-ng commented
preventing you from doing actions in your game as soon as you reload, kinda annoying
lajbel commented
maybe a config flag for this? or should be the default behaviour? Because normally I don't want my game being focused while I'm for example editing UI stuff and I only want to see changes
amyspark-ng commented
Really what's happening (at least to me) is that sometimes it doesn't unfocus the coding windows properly, i think it's when you click to focus BEFORE the game loads, so there's that
lajbel commented
I will put the behaviour of autofocus by default, if someone doesn't want it, you can use
kaboom({ focus: false })