Skip to content

Commit

Permalink
hotkeys: Fix bug with copy
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Nov 22, 2023
1 parent 75b9716 commit ed81bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/Hotkeys.zig
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pub fn process(self: *Self) !void {
if (hk.pressed()) {
file.copy_sprite = .{
.index = file.selected_sprite_index,
.layer_id = file.selected_layer_index,
.layer_id = file.layers.items[file.selected_layer_index].id,
};
}
}
Expand Down

0 comments on commit ed81bd7

Please sign in to comment.