Implement changing transparent background colors via remote control

This commit is contained in:
Kovid Goyal
2024-09-24 19:01:35 +05:30
parent c3130419a7
commit c1fb18a6ef
8 changed files with 78 additions and 36 deletions

View File

@@ -35,6 +35,8 @@ func set_color_in_color_map(key, val string, ans map[string]any, check_nullable,
return fmt.Errorf("The color %s cannot be set to none", key)
}
ans[key] = nil
} else if key == "transparent_background_colors" {
ans[key] = val
} else {
col, err := style.ParseColor(val)
if err != nil {