raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

RecipeBook window does not close on ESC when it's a window opened with ALT-click #137

Closed Soul-Burn closed 11 months ago

Soul-Burn commented 11 months ago

Description

When opening a window with ALT-click, it does not close when press ESC, requiring clicking the X in the corner.

This behavior is different than when opening the main window with ctrl-B. That window closes on ESC unless pinned.

Reproduction

  1. ALT-click some entity in the world
  2. Press ESC

Expected: Window closes Actual: Main menu opens

raiguard commented 11 months ago

This is intentional.

Edit: when you alt+click something it opens a "standalone" window instead of the "docked" window, allowing you to open info for multiple things at once. Recipe Book 4 will be doing away with the multi-window system entirely.