mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 11:08:38 +03:00
fix esc/click out issue
This commit is contained in:
parent
6f7121ab99
commit
4df03fbcdc
@ -108,6 +108,9 @@
|
||||
|
||||
function checkPaletteModal(event: Event) {
|
||||
const target = event.target as HTMLElement;
|
||||
if (!target) {
|
||||
showPalette = false;
|
||||
}
|
||||
if (showPalette !== false && !palette.contains(target)) {
|
||||
showPalette = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user