address claudes comments

- fix newline split
- fix hover bug
- add uninstall-plugin target in Makefile
This commit is contained in:
2026-02-24 18:35:40 -08:00
parent 60cd1c8ac2
commit d10fda7136
4 changed files with 137 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ function M.create(ctx)
end
local process_list = result.stdout:lower()
for line in process_list:gmatch("[^\\n]+") do
for line in process_list:gmatch("[^\n]+") do
if is_windows() then
local image = line:match('^"([^"]+)","')
if not image then

View File

@@ -91,7 +91,7 @@ function M.create(ctx)
border = sub_border_size * window_scale,
shadow = sub_shadow_offset * window_scale,
base_color = fix_ass_color(mp.get_property("sub-color"), DEFAULT_HOVER_BASE_COLOR),
hover_color = fix_ass_color(mp.get_property("sub-color"), DEFAULT_HOVER_COLOR),
hover_color = fix_ass_color(DEFAULT_HOVER_COLOR, DEFAULT_HOVER_COLOR),
}
end