We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa8983 commit 63374a3Copy full SHA for 63374a3
lua/dapui/windows/layout.lua
@@ -106,7 +106,7 @@ function WindowLayout:resize(opts)
106
self.set_area_size(self.opened_wins[1], self.area_state.size)
107
local total_size = self:_total_size()
108
for i, win_state in pairs(self.win_states) do
109
- local win_size = opts.reset and win_state.init_size or win_state.size
+ local win_size = opts.reset and win_state.init_size or win_state.size or 1
110
win_size = util.round(win_size * total_size)
111
if win_size == 0 then
112
win_size = 1
0 commit comments