Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit text caching #2058

Merged
merged 28 commits into from
Sep 9, 2023
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ed34543
Implement explicit text caching in the widget state tree
hecrj Aug 30, 2023
89acf02
Use `min_bounds` for cached text
hecrj Aug 30, 2023
c44611c
Fix vertical alignment in `layout::next_to_each_other`
hecrj Aug 30, 2023
ffd0f4d
Add some default spacing for `Toggler`
hecrj Aug 30, 2023
301e6e5
Reduce default spacing of `Checkbox`
hecrj Aug 30, 2023
a026e91
Make `widget::Tree` mutable in `Widget::layout`
hecrj Aug 30, 2023
bcd9fdb
Simplify new logic in `TextInput`
hecrj Aug 30, 2023
b51ffe5
Fix unnecessary dereference in `widget::text`
hecrj Aug 30, 2023
252a05c
Update `CHANGELOG`
hecrj Aug 30, 2023
ce22d66
Remove `Clone` implementation for `Paragraph`
hecrj Sep 1, 2023
935c722
Use `Arc::try_unwrap` in `Paragraph`
hecrj Sep 1, 2023
51e69d7
Replace `MaybeUninit` with `Option` in `paragraph`
hecrj Sep 1, 2023
6758de2
Fix `Default` implementation for `Paragraph`
hecrj Sep 1, 2023
548b9d0
Fix `Widget::layout` for `Component`
hecrj Sep 1, 2023
601e556
Fix `Widget::layout` for `Lazy`
hecrj Sep 1, 2023
8129e2c
Implement `draw_paragraph` in `iced_tiny_skia`
hecrj Sep 3, 2023
1a1da6a
Remove unnecessary mutable reference in `iced_tiny_skia`
hecrj Sep 3, 2023
34495bb
Introduce `keyed::Column` widget
hecrj Sep 4, 2023
837529b
Fix Wasm build of `todos` example
hecrj Sep 4, 2023
3450987
Invalidate existing paragraphs when new fonts are loaded
hecrj Sep 9, 2023
3cc605b
Implement `Icon` support for `TextInput`
hecrj Sep 9, 2023
bbb9c2d
Count grapheme clusters in `Paragraph::grapheme_position`
hecrj Sep 9, 2023
9565123
Remove unused `unicode-segmentation` dependency from `iced_graphics`
hecrj Sep 9, 2023
b8e5693
Merge branch 'master' into explicit-text-caching
hecrj Sep 9, 2023
8aa7874
Fix Wasm build of `todos` example
hecrj Sep 9, 2023
c692845
Fix broken intradoc link in `widget::keyed` module
hecrj Sep 9, 2023
b42b24b
Fix (more) broken intradoc links
hecrj Sep 9, 2023
1cc5bf5
Fix `CHANGELOG`
hecrj Sep 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Wasm build of todos example
  • Loading branch information
hecrj committed Sep 9, 2023
commit 8aa7874ba9ba4a0e7cafb9a447a3db92e95aeb87
1 change: 1 addition & 0 deletions examples/todos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use uuid::Uuid;
static INPUT_ID: Lazy<text_input::Id> = Lazy::new(text_input::Id::unique);

pub fn main() -> iced::Result {
#[cfg(not(target_arch = "wasm32"))]
tracing_subscriber::fmt::init();

Todos::run(Settings {
Expand Down
Loading