Skip to content

Commit

Permalink
MRE of image issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
StarArawn committed Aug 5, 2024
1 parent 5d56854 commit 9b99cdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/with_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ impl<'s> ApplicationHandler<UserEvent> for VelloApp<'s> {
self.scene_ix = self.scene_ix.saturating_sub(1);
}
Key::Named(NamedKey::ArrowRight) => {
self.scene_ix = self.scene_ix.saturating_add(1);
self.scene_ix += 1;
dbg!(self.scene_ix);
}
Key::Named(NamedKey::ArrowUp) => self.complexity += 1,
Key::Named(NamedKey::ArrowDown) => {
Expand Down

0 comments on commit 9b99cdc

Please sign in to comment.