weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.14k stars 45 forks source link

[BUG] float窗口z order错误 #515

Closed yatli closed 2 years ago

yatli commented 2 years ago

:CocCommand explorer --preset float

会创建两个新grid,一个内容一个边框。 现在的问题是,内容窗口先创建,然后是边框,二者Z-Order相同(z=50)。

两种fix方法:

1)先建立边框再建立内容 2)把内容窗口的z-order往上抬一点,比如60

Telescope采取的是1),所以现在我把telescope弄好之后这边又坏了😂

相关:

https://github.com/yatli/fvim/issues/199

weirongxu commented 2 years ago

非常感谢,先建立边框似乎会导致终端下面有点问题。所以采取 2 了。