mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
address claudes comments
- fix newline split - fix hover bug - add uninstall-plugin target in Makefile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user