Skip to content

Commit

Permalink
fix(windows): remove element.render
Browse files Browse the repository at this point in the history
Buffers can be assumed to have already rendered when opening in a
window.

See #265
  • Loading branch information
rcarriga committed May 27, 2023
1 parent 4ce7b97 commit c693e80
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/dapui/windows/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ function M.open_float(name, element, position, settings)
resize()
end,
})
element.render()
-- In case render doesn't trigger on_lines
resize()

Expand Down

0 comments on commit c693e80

Please sign in to comment.