Skip to content

Commit

Permalink
feat(config)!: shorten the delay option default value from 7ms to 5ms
Browse files Browse the repository at this point in the history
  • Loading branch information
declancm committed Jul 13, 2024
1 parent 5416310 commit 9c46cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ return {
-- Optional post-movement callback
callback = function() end,
-- Delay between each movement step (in ms)
delay = 7,
delay = 5,
max_delta = {
-- Maximum distance for line movements before smooth
-- scrolling is skipped. Set to `false` to disable
Expand Down
2 changes: 1 addition & 1 deletion lua/cinnamon/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local defaults = {
---@class ScrollOptions
options = {
callback = nil, ---@type function?
delay = 7, ---@type number
delay = 5, ---@type number
max_delta = {
line = false, ---@type number | false
column = false, ---@type number | false
Expand Down

0 comments on commit 9c46cc3

Please sign in to comment.