Skip to content

Commit e047fe4

Browse files
committed
refactor: fix type warning
1 parent f425262 commit e047fe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/opencode/ui/input_window.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function M.schedule_resize(windows)
314314
if M.mounted(windows) then
315315
M.update_dimensions(windows)
316316
end
317-
end, 1000 / 60) -- debounce to 60 FPS
317+
end, math.floor(1000 / 60)) -- throttle to 60 FPS
318318
end
319319

320320
function M.refresh_placeholder(windows, input_lines)

0 commit comments

Comments
 (0)