fixing the issues on rendering

This commit is contained in:
2026-02-02 17:08:00 -05:00
parent c915096a4a
commit 1d1448b4c9
3 changed files with 8 additions and 15 deletions

View File

@@ -6,6 +6,7 @@ return {
winblend = 0, winblend = 0,
border = "rounded", border = "rounded",
align = "bottom", align = "bottom",
avoid = { "NvimTree" },
}, },
view = { view = {
stack_upwards = true, stack_upwards = true,

View File

@@ -6,27 +6,19 @@ return {
return { return {
cursor = { cursor = {
enable = true, enable = true,
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }), timing = animate.gen_timing.linear({ duration = 50, unit = "total" }),
}, },
scroll = { scroll = {
enable = true, enable = false, -- Disabled for performance
timing = animate.gen_timing.linear({ duration = 100, unit = "total" }),
}, },
resize = { resize = {
enable = true, enable = false, -- Disabled for performance
timing = animate.gen_timing.linear({ duration = 80, unit = "total" }),
}, },
open = { open = {
enable = true, enable = false, -- Disabled for performance
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 }),
}, },
close = { close = {
enable = true, enable = false, -- Disabled for performance
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 }),
}, },
} }
end, end,

View File

@@ -8,7 +8,7 @@ return {
config = function() config = function()
require("notify").setup({ require("notify").setup({
background_colour = "#1a1b26", background_colour = "#1a1b26",
fps = 60, fps = 30,
icons = { icons = {
DEBUG = "", DEBUG = "",
ERROR = "", ERROR = "",
@@ -19,7 +19,7 @@ return {
level = 2, level = 2,
minimum_width = 50, minimum_width = 50,
render = "wrapped-compact", render = "wrapped-compact",
stages = "fade_in_slide_out", stages = "static", -- Faster than fade_in_slide_out
timeout = 3000, timeout = 3000,
top_down = true, top_down = true,
}) })