increpare / flickgame

tiny game engine
https://www.flickgame.org
82 stars 10 forks source link

Add keyboard shortcuts back to flickuboy #24

Open Gyt opened 7 years ago

Gyt commented 7 years ago

I use "document.activeElement" to check that the text inputs weren't in focus. Also added z key for undo and 1-2 for color's change.

And I think, it will be cool, if you can pick a color on a frame when pressing Ctrl and clicking the mouse and fill with color when pressing Shift. It's pretty small change. (Sorry, I messed it up. I needed to create another pull request for that.)

20