fix/refactor(preview): Proper per-sidebar support & complete rewrite

This commit is contained in:
hedy
2023-11-27 20:08:22 +08:00
parent b6b2bf2248
commit 80f76333ba
5 changed files with 158 additions and 148 deletions

View File

@@ -279,7 +279,7 @@ function M.show_status()
if not sidebar then
ctx.code_win_active = true
else
ctx.code_win_active = require('outline.preview').has_code_win(win)
ctx.code_win_active = sidebar:has_code_win()
end
end