feat: add dispatch increase_proportion

This commit is contained in:
DreamMaoMao 2025-03-16 20:42:32 +08:00
parent fdbfaf902d
commit 8e7111c816
3 changed files with 14 additions and 0 deletions

View file

@ -402,6 +402,9 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value) {
} else if (strcmp(func_name, "set_proportion") == 0) {
func = set_proportion;
(*arg).f = atof(arg_value);
} else if (strcmp(func_name, "increase_proportion") == 0) {
func = increase_proportion;
(*arg).f = atof(arg_value);
} else if (strcmp(func_name, "switch_proportion_preset") == 0) {
func = switch_proportion_preset;
} else if (strcmp(func_name, "viewtoleft") == 0) {