Use comptime for fully declarative LV2 and Custom commands #14

Merged
luna merged 69 commits from declarative-commands into master 2020-06-02 21:37:47 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 83996b889f - Show all commits

View File

@ -520,7 +520,7 @@ pub const Lang = struct {
// Based on the command struct fields, we can parse the arguments.
var cmd = try self.allocator.create(command_struct);
const is_lv2_command = switch (command_struct.base_tag) {
.noop, .load, .quicksave, .runqs => false,
.noop, .load, .quicksave, .runqs, .rotate => false,
else => command_struct.command_type == .lv2_command,
};