Skip to content

Commit

Permalink
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrol…
Browse files Browse the repository at this point in the history
…ling

[Feature] Multidirectional scrolling
  • Loading branch information
hecrj authored Jan 9, 2023
2 parents 07d755c + 2d00747 commit 7ccd87c
Show file tree
Hide file tree
Showing 12 changed files with 1,043 additions and 521 deletions.
1 change: 0 additions & 1 deletion core/src/size.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::{Padding, Vector};
use std::f32;

/// An amount of space in 2 dimensions.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ A bunch of simpler examples exist:
- [`pick_list`](pick_list), a dropdown list of selectable options.
- [`pokedex`](pokedex), an application that displays a random Pokédex entry (sprite included!) by using the [PokéAPI].
- [`progress_bar`](progress_bar), a simple progress bar that can be filled by using a slider.
- [`scrollable`](scrollable), a showcase of the various scrollbar width options.
- [`scrollable`](scrollable), a showcase of various scrollable content configurations.
- [`sierpinski_triangle`](sierpinski_triangle), a [sierpiński triangle](https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle) Emulator, use `Canvas` and `Slider`.
- [`solar_system`](solar_system), an animated solar system drawn using the `Canvas` widget and showcasing how to compose different transforms.
- [`stopwatch`](stopwatch), a watch with start/stop and reset buttons showcasing how to listen to time.
Expand Down
1 change: 1 addition & 0 deletions examples/scrollable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ publish = false

[dependencies]
iced = { path = "../..", features = ["debug"] }
once_cell = "1.16.0"
Binary file modified examples/scrollable/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7ccd87c

Please sign in to comment.