summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2651 from rhogenson/total-cmpLibravatar Héctor2024-10-281-4/+1
|\ | | | | Use float total_cmp instead of partial_cmp to get a total order.
| * Use float total_cmp instead of partial_cmp to get a total order.Libravatar Rose Hogenson2024-10-261-4/+1
|/ | | | | | | Since Rust version 1.81, sort_by will panic if the provided comparison function does not implement a total order. See https://github.com/rust/lang/rust/issues/129561 for more details. The simplest fix seems to be to use total_cmp instead of partial_cmp.
* Merge pull request #2649 from kosayoda/window-focus-fixLibravatar Héctor2024-10-251-0/+2
|\ | | | | Prevent unintended keyboard input during focus.
| * Prevent unintended keyboard input during focus.Libravatar kosayoda2024-10-241-0/+2
|/
* Merge pull request #2628 from tarkah/fix/pane-grid-continuityLibravatar Héctor2024-10-243-151/+194
|\ | | | | Fix/pane grid continuity
| * Add `relabel` helper to `pane_grid::State`Libravatar Héctor Ramón Jiménez2024-10-241-14/+15
| |
| * Rename `state::Widget` to `pane_grid::Memory`Libravatar Héctor Ramón Jiménez2024-10-242-16/+15
| |
| * Fix `responsive` diffing when `Tree` is emptied by ancestorsLibravatar Héctor Ramón Jiménez2024-10-241-1/+4
| |
| * Remove duplicated `maximized` state in `pane_grid`Libravatar Héctor Ramón Jiménez2024-10-242-45/+59
| |
| * Keep `Pane` associated to state / layout after swapLibravatar Cory Forsstrom2024-10-241-2/+18
| | | | | | | | | | | | | | State continuity is dependent on keeping a node associated to it's original `Pane` id. When splitting -> swapping nodes, we need to assign it back to the original `Pane` to enforce continuity.
| * Retain widget state against incoming panesLibravatar Cory Forsstrom2024-10-242-125/+135
| | | | | | | | | | | | | | | | | | | | We can associate each state with a `Pane` and compare that against the new panes to remove states w/ respective panes which no longer exist. Because we always increment `Pane`, new states are always added to the end, so this retain + add new state approach will ensure continuity when panes are added & removed
| * Use BTreeMap for Ord iteration of panesLibravatar Cory Forsstrom2024-10-241-4/+4
|/ | | | | This ensures continuity in how panes are iterated on when building widget state
* Dismiss `large-enum-variant` lintLibravatar Héctor Ramón Jiménez2024-10-221-0/+3
|
* Update button Catalog and Style documentation (#2590)Libravatar Michelle Granat2024-10-171-0/+51
| | | | | | | | | | | | | | | * Update button Catalog and Style documentation * Clarified button documentation * fix code typo * Run `cargo fmt` * Fixed docs to pass tests --------- Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
* Fix new elided lifetime lint in the `beta` toolchainLibravatar Héctor Ramón Jiménez2024-10-172-2/+2
|
* Merge pull request #2639 from l-const/consecutive-click-distanceLibravatar Héctor2024-10-151-1/+1
|\ | | | | Introduce consecutive click distance check like other toolkit do such as gtk,qt, imgui.
| * Introduce consecutive click distance like other toolkits such as gtk,qt, imgui.Libravatar l-const2024-10-141-1/+1
|/
* Merge pull request #2632 from leo030303/fix_delete_key_bugLibravatar Héctor2024-10-141-1/+3
|\ | | | | Fixed bug where delete key wasn't working in the text editor
| * Fix `Binding::Delete` not triggering in `text_editor`Libravatar Leo Ring2024-10-141-1/+3
| |
* | Merge pull request #2637 from Brady-Simon/style-partialeqLibravatar Héctor2024-10-1413-19/+19
|\ \ | | | | | | Add PartialEq derives for widget styles
| * | Add `PartialEq` derives for widget stylesLibravatar BradySimon2024-10-1413-19/+19
|/ /
* | Fix `mouse::Cursor` fighting in `stack` widgetLibravatar Héctor Ramón Jiménez2024-10-041-4/+2
| |
* | Fix `responsive`, `component`, and `lazy` always returning an `overlay`Libravatar Héctor Ramón Jiménez2024-10-043-61/+80
| |
* | Implement `Overlay::operate` for `responsive::Overlay`Libravatar Héctor Ramón Jiménez2024-10-041-0/+11
| |
* | Fix `Task::chain` when chained task is `Task::none`Libravatar Héctor Ramón Jiménez2024-10-041-1/+1
|/
* Merge pull request #2623 from boondocklabs/markdown-lifetimeLibravatar Héctor2024-10-021-2/+2
|\ | | | | Change lifetime of markdown IntoIterator Item, as it does not need to live as long as the returned Element
| * Change lifetime of markdown view IntoIterator Item, as it does not need to ↵Libravatar Matt Thompson2024-10-011-2/+2
| | | | | | | | live as long as the returned Element.
* | Merge pull request #2606 from tvolk131/qr_code_fixed_sizeLibravatar Héctor2024-10-022-18/+60
|\ \ | | | | | | feat: set total size of QRCode
| * | Make `cell_size` and `total_size` generic over `Pixels` in `qr_code`Libravatar Héctor Ramón Jiménez2024-10-021-6/+8
| | |
| * | Simplify total size logic in `qr_code` exampleLibravatar Héctor Ramón Jiménez2024-10-021-42/+38
| | |
| * | feat: set total size of QRCodeLibravatar Tommy Volk2024-09-242-10/+54
| |/
* | Merge pull request #2611 from tarkah/fix/ignore-out-of-viewport-textLibravatar Héctor2024-10-022-22/+16
|\ \ | | | | | | Don't fill out of viewport text
| * | Cull widget draw calls in `column` and `row`Libravatar Héctor Ramón Jiménez2024-10-023-26/+16
| | |
| * | Don't fill out of viewport textLibravatar Cory Forsstrom2024-09-271-0/+4
| |/
* | Merge pull request #2608 from ibaryshnikov/haskellLibravatar Héctor2024-10-022-0/+8
|\ \ | | | | | | added physical_key to KeyReleased event
| * | Add `modified_key` to `keyboard::Event::KeyReleased`Libravatar Héctor Ramón Jiménez2024-10-022-0/+4
| | |
| * | added physical_key to KeyReleased eventLibravatar ibaryshnikov2024-09-262-0/+4
| |/
* | Merge pull request #2619 from edwloef/masterLibravatar Héctor2024-10-021-1/+1
|\ \ | | | | | | Derive `Default` for `iced_wgpu::geometry::Cache`
| * | Derive `Default` for `iced_wgpu::geometry::Cache`Libravatar edwloef2024-10-021-1/+1
| |/
* | Merge pull request #2615 from bbb651/wayland-file-dropped-docLibravatar Héctor2024-10-0212-16/+28
|\ \ | | | | | | Document Wayland `File*` Events as Unsupported & Fix Typos
| * | Fix various typosLibravatar bbb6512024-09-2911-16/+16
| | | | | | | | | | | | Using https://github.com/crate-ci/typos
| * | Document `File{Dropped,Hovered,HoveredLeft}` as unsupported on waylandLibravatar bbb6512024-09-291-0/+12
| |/ | | | | | | Blocked on https://github.com/rust-windowing/winit/issues/1881
* | Merge pull request #2617 from tvolk131/fix_circular_progress_skippingLibravatar Héctor2024-10-021-2/+2
|\ \ | |/ |/| fix: circular progress no longer skips
| * fix: circular progress no longer skipsLibravatar Tommy Volk2024-09-291-2/+2
|/
* Add support for double click event to MouseArea (#2602)Libravatar 7sDream2024-09-241-4/+48
| | | | | | | | | * feat(widget/mouse_area): add double_click event * Run `cargo fmt` --------- Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
* Merge pull request #2605 from Gobbel2000/frame_pasteLibravatar Héctor2024-09-242-0/+2
|\ | | | | Include images and saved meshes when pasting `Frame`
| * Include images and saved meshes when pasting `Frame`Libravatar Gabriel Vogel2024-09-242-0/+2
| | | | | | | | | | | | | | | | `tiny_skia::Frame` was ignoring images in `Frame::paste`, making images not show up when created in a `with_clip` context. `wgpu::Frame` similarly did not pass through meshes in its paste method, that may have been saved from a nested `with_clip` call.
* | Merge pull request #2601 from edwloef/masterLibravatar Héctor2024-09-241-0/+8
|\ \ | |/ |/| always increment solid/gradient count in wgpu mesh rendering
| * always increment solid/gradient count in wgpu mesh renderingLibravatar edwloef2024-09-221-0/+8
| |
* | Merge pull request #2598 from iced-rs/fix/shrink-cross-flex-layoutLibravatar Héctor2024-09-242-9/+44
|\ \ | |/ |/| Fix flex layout of `Fill` elements in a `Shrink` cross axis