fixing the issues on rendering
This commit is contained in:
@@ -6,6 +6,7 @@ return {
|
||||
winblend = 0,
|
||||
border = "rounded",
|
||||
align = "bottom",
|
||||
avoid = { "NvimTree" },
|
||||
},
|
||||
view = {
|
||||
stack_upwards = true,
|
||||
|
||||
@@ -6,27 +6,19 @@ return {
|
||||
return {
|
||||
cursor = {
|
||||
enable = true,
|
||||
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }),
|
||||
timing = animate.gen_timing.linear({ duration = 50, unit = "total" }),
|
||||
},
|
||||
scroll = {
|
||||
enable = true,
|
||||
timing = animate.gen_timing.linear({ duration = 100, unit = "total" }),
|
||||
enable = false, -- Disabled for performance
|
||||
},
|
||||
resize = {
|
||||
enable = true,
|
||||
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }),
|
||||
enable = false, -- Disabled for performance
|
||||
},
|
||||
open = {
|
||||
enable = true,
|
||||
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }),
|
||||
winconfig = animate.gen_winconfig.wipe({ direction = "from_edge" }),
|
||||
winblend = animate.gen_winblend.linear({ from = 80, to = 100 }),
|
||||
enable = false, -- Disabled for performance
|
||||
},
|
||||
close = {
|
||||
enable = true,
|
||||
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }),
|
||||
winconfig = animate.gen_winconfig.wipe({ direction = "to_edge" }),
|
||||
winblend = animate.gen_winblend.linear({ from = 100, to = 80 }),
|
||||
enable = false, -- Disabled for performance
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
||||
@@ -8,7 +8,7 @@ return {
|
||||
config = function()
|
||||
require("notify").setup({
|
||||
background_colour = "#1a1b26",
|
||||
fps = 60,
|
||||
fps = 30,
|
||||
icons = {
|
||||
DEBUG = "",
|
||||
ERROR = "",
|
||||
@@ -19,7 +19,7 @@ return {
|
||||
level = 2,
|
||||
minimum_width = 50,
|
||||
render = "wrapped-compact",
|
||||
stages = "fade_in_slide_out",
|
||||
stages = "static", -- Faster than fade_in_slide_out
|
||||
timeout = 3000,
|
||||
top_down = true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user