Skip to content

Commit

Permalink
support numbers in hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 18, 2024
1 parent b58586c commit 2b1865f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function Inner(props: { initialStore: HotkeysStore | null }) {
if (
!(
(data.code >= "KeyA" && data.code <= "KeyZ") ||
(data.code >= "Key0" && data.code <= "Key9") ||
data.code.startsWith("F")
)
)
Expand Down
4 changes: 0 additions & 4 deletions crates/media/src/feeds/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,6 @@ impl FrameConverter {
};

data

// data.extend_from_slice(&(resolution.width() * 4).to_le_bytes());
// data.extend_from_slice(&resolution.height().to_le_bytes());
// data.extend_from_slice(&resolution.width().to_le_bytes());
}

fn raw(&mut self, buffer: &nokhwa::Buffer) -> FFVideo {
Expand Down

1 comment on commit 2b1865f

@vercel
Copy link

@vercel vercel bot commented on 2b1865f Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.