make rotate not be a typed command

This commit is contained in:
Luna 2020-05-31 21:55:27 -03:00
parent 10b2c69605
commit 83996b889f

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,
};