Skip to content

Commit cdc58d6

Browse files
authored
Merge pull request #53 from simonmandlik/feat/font_styles_in_animations
fix(animation): fix animation bug (#52)
2 parents 51dc3d1 + 53b4599 commit cdc58d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/tiny-glimmer/glimmer_animation.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function GlimmerAnimation:update_effect(progress)
149149
effect.settings.to_color = self.overwrite_to_color or default_settings.to_color
150150

151151
local updated_color_overwrite = effect:update_fn(progress, easing)
152-
api.nvim_set_hl(0, hl_group, vim.tbl_extend("error",
152+
api.nvim_set_hl(0, overwrite_hl_group, vim.tbl_extend("error",
153153
{ bg = updated_color_overwrite }, effect.settings.font_style or {}))
154154

155155
-- Restore original colors

0 commit comments

Comments
 (0)