PuzzleScript icon indicating copy to clipboard operation
PuzzleScript copied to clipboard

editor: holding up/down in game sometimes seems to scroll the code view

Open increpare opened this issue 1 year ago • 1 comments

chrome/windows - doesn't always happen - not sure what the exact repro is

should probably more aggressively grab focus from codemirror when getting input.

increpare avatar May 01 '24 10:05 increpare

It's not that. It happens when a key of a kind that is used by the game engine is actually not used, such as a duplicate or some kind of if statement. Then the event can bubble to the editor.

I fixed this in PS Next by adding prevent(event) to catch all of those code paths.

david-pfx avatar Jul 28 '24 05:07 david-pfx

I wish I had a good repro for this....

increpare avatar Dec 03 '24 14:12 increpare

reproduction - go to text editor, press ctrl+enter, then notice on the title screen that up+down pressing still scroll

increpare avatar Mar 21 '25 00:03 increpare