mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-02-20 01:02:29 +08:00
This doesn't change behavior, just makes the code a little bit easier to understand: the outermost condition is "do we show a popup and is the mouse event for some other view than the focused one". Only if that's true do we need to define the isCommitMessageView function, and check whether both views belong to the commit message editor.