Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape key doesn't close GUI #13

Closed
jakimfett opened this issue Jun 29, 2016 · 2 comments
Closed

Escape key doesn't close GUI #13

jakimfett opened this issue Jun 29, 2016 · 2 comments

Comments

@jakimfett
Copy link

jakimfett commented Jun 29, 2016

When the Advanced Logistics System GUI is active, I would expect the "Escape" key to close the GUI like it does for most of the other GUIs in the game.

Currently, pressing the "Escape" key opens the game menu over top of the ALS GUI.

Tested with Factorio v0.12.35 and ALS v0.2.13 without any other mods.

@jocker-il
Copy link

isn't this as easy as adding the "escape key pressed" to "mod icon in gui pressed" ?

something like _on_click ("escape_key") do_ & call the close_gui function used for _on_click ("mod_gui_icon")

@anoutsider
Copy link
Owner

This functionality was added on the 0.3.x release, however the ESC key doesn't really work, there are 2 alternatives now.. using "L" to toggle the GUI on/off and also using another key combination to just close it, the default for this is "Shift + ESC", this one is setup to override default game behavior for shortcuts, so i'd be careful setting it to a key that you normally use.

Both are customisable from the game options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants