mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-11 05:34:21 -04:00
Added cycling both ways for switch_proportion_preset
Now switch_proportion_preset requires an argument "prev" or "next" to determine cycle direction
This commit is contained in:
parent
9a17a0279c
commit
10d7e5c6e3
3 changed files with 24 additions and 8 deletions
|
|
@ -947,6 +947,7 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
|
|||
(*arg).f = atof(arg_value);
|
||||
} else if (strcmp(func_name, "switch_proportion_preset") == 0) {
|
||||
func = switch_proportion_preset;
|
||||
(*arg).i = parse_circle_direction(arg_value);
|
||||
} else if (strcmp(func_name, "viewtoleft") == 0) {
|
||||
func = viewtoleft;
|
||||
(*arg).i = atoi(arg_value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue