Just using decl literals

pull/9899/head
Max Bretschneider 2025-10-24 20:04:50 +02:00 committed by Mitchell Hashimoto
parent 6230d134e1
commit 7e0dc09873
1 changed files with 2 additions and 2 deletions

View File

@ -5394,8 +5394,8 @@ pub fn performBindingAction(self: *Surface, action: input.Binding.Action) !bool
.{ .surface = self },
.goto_window,
switch (direction) {
.next => apprt.action.GotoWindow.next,
.previous => apprt.action.GotoWindow.previous,
.previous => .previous,
.next => .next,
},
),