Skip to content

Commit e5a3998

Browse files
committed
fix(log): remove redundant autoscroll call in toggle
1 parent bc36e2e commit e5a3998

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/flutter-tools/log.lua

-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ M.toggle = function()
127127
end
128128
end
129129
create(config.dev_log)
130-
autoscroll(M.buf, M.win)
131130
-- Auto scroll to bottom
132131
local buf_length = vim.api.nvim_buf_line_count(M.buf)
133132
pcall(vim.api.nvim_win_set_cursor, M.win, { buf_length, 0 })

0 commit comments

Comments
 (0)