mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 23:29:22 -06:00
When a new pane (such as the LLVM IR view) is opened using a button in the “Add new...” or “Add tool...” menu, the button is disabled. This can be confusing when the pane is not visible (e. g. when it is in a tab in the background), because it can also be interpreted as “this is not supported“. This PR adds an `[already open]` to the button when it is disabled.