Commit graph

5876 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
327522eb99
Draft test recorder structure in iced_devtools 2025-05-30 03:06:57 +02:00
Héctor
ca6d992d67
Merge pull request #2969 from iced-rs/feature/snapping-reloaded
Add `crisp` feature for default quad snapping
2025-05-30 03:06:33 +02:00
Héctor
8df8d9a0c1
Merge pull request #2964 from DKolter/issue_2961
Fix text damage calculation on tiny skia
2025-05-30 01:09:48 +02:00
Héctor
c86b04f5c2
Merge pull request #2966 from DKolter/issue_2965
Fix Rectangle::is_within inconsistency
2025-05-30 01:08:37 +02:00
Héctor Ramón Jiménez
567b7d9e9f
Add crisp feature for enabling default quad snapping 2025-05-30 00:30:23 +02:00
Héctor
12ac265694
Merge pull request #2967 from Koranir/single-sdf-quad
Use a single SDF for all quad corners
2025-05-29 23:31:09 +02:00
Héctor Ramón Jiménez
215cee8c82
Update Cargo.lock 2025-05-29 22:24:59 +02:00
Daniel
74665d696d use single sdf for all corners 2025-05-29 22:16:33 +10:00
DKolter
d4a692d147 fix: Rectangle::is_within inconsistency 2025-05-29 13:26:38 +02:00
DKolter
371d0784a8 fix: Text::visible_bounds applies duplicate alignment for tiny skia 2025-05-29 12:03:27 +02:00
Héctor Ramón Jiménez
cd60385b1e
Update styling test snapshots 2025-05-29 00:02:59 +02:00
Héctor Ramón Jiménez
6230f4c0bd
Make space in toggler integral 2025-05-28 22:56:56 +02:00
Héctor Ramón Jiménez
f0156359db
Revert "Snap text to the pixel grid on the X axis in iced_wgpu"
This reverts commit 6c0962c5c3.
2025-05-28 22:51:59 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
This reverts commit 03326b955b, reversing
changes made to 7c5a4bc465.
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
6c0962c5c3
Snap text to the pixel grid on the X axis in iced_wgpu 2025-05-28 21:02:45 +02:00
Héctor Ramón Jiménez
3881d68b7e
Round translation to integral units in scrollable 2025-05-28 20:51:01 +02:00
Héctor Ramón Jiménez
5929b26722
Apply snap distance to Mesh primitives in iced_wgpu 2025-05-28 20:47:23 +02:00
Héctor Ramón Jiménez
f929a20d29
Change From<str> for Selector to Text in iced_test 2025-05-28 03:25:39 +02:00
Héctor
03326b955b
Merge pull request #2962 from iced-rs/fix/blurry-quads
Consistent primitive pixel snapping in `iced_wgpu`
2025-05-28 02:55:20 +02:00
Héctor Ramón Jiménez
1d9e812e0a
Update styling test snapshots 2025-05-28 02:43:58 +02:00
Héctor Ramón Jiménez
15aa94c0f1
Try to align quad and image primitives in iced_wgpu 2025-05-26 23:59:15 +02:00
Héctor Ramón Jiménez
3aedbd5844
Snap quad primitives to the pixel grid (once again!)
Let's hope this approach handles common cases better.
2025-05-25 21:27:00 +02:00
Héctor Ramón Jiménez
7c5a4bc465
Fix right padding in toggler when no label is present
Fixes #2942
2025-05-17 19:04:29 +02:00
Héctor Ramón Jiménez
5de7bc83bd
Implement Clone for text_editor::Content 2025-05-16 01:09:53 +02:00
Héctor Ramón Jiménez
9a7ea88d55
Fix clippy lints for Rust 1.87 2025-05-15 20:52:27 +02:00
Héctor Ramón Jiménez
204c4773d5
Add expand method to image widget 2025-05-15 20:38:28 +02:00
Héctor Ramón Jiménez
bb78f1f336
Fix overlay flickering when layout is invalidated 2025-05-15 17:21:58 +02:00
Héctor Ramón Jiménez
6155100767
Allow Overlay::overlay to borrow Layout 2025-05-15 16:32:49 +02:00
Héctor
346ce61b5d
Merge pull request #2944 from iced-rs/generic-pop-key
Generic key for `pop` widget
2025-05-15 14:51:09 +02:00
Héctor Ramón Jiménez
d39022432c
Remove unnecessary into calls in application 2025-05-13 22:33:44 +02:00
Héctor Ramón Jiménez
8c87f67d6d
Remove some indirection in application traits
Skill issue, though.
2025-05-13 22:31:37 +02:00
Héctor Ramón Jiménez
0290364936
Use Key trait to remove Cow in pop widget 2025-05-13 16:42:38 +02:00
Héctor Ramón Jiménez
508ad512d6
Make key in pop widget generic 2025-05-13 15:10:44 +02:00
Héctor
3a3a02beef
Merge pull request #2925 from iced-rs/fix/quad-shader-blending
Fix `quad` shader blending
2025-05-12 19:09:25 +02:00
Héctor Ramón Jiménez
098bd1b8a4
Use premultiplied colors in triangle pipelines 2025-05-12 18:41:34 +02:00
Héctor Ramón Jiménez
df37d6f9bc
Replace blend with mix equivalent in quad shaders 2025-05-12 18:11:51 +02:00
Héctor Ramón Jiménez
9ac4c9f13d
Define premultiply helper for quad shaders 2025-05-12 18:09:48 +02:00
Héctor Ramón Jiménez
469261e5a6
Replace mix calls with proper alpha blending in quad shaders 2025-05-12 18:09:48 +02:00
Héctor Ramón Jiménez
7a97773f17
Update compatible comet revision in devtools 2025-05-06 04:22:01 +02:00
Héctor Ramón Jiménez
8338435429
Group primitive timings in Present span 2025-05-06 04:17:06 +02:00
Héctor
e6da449c92
Merge pull request #2919 from bungoboingo/hack/fix-gl-cubemap-detection
[Fix] GL backend interpreting atlas texture as cube map vs 2d tex array when atlas layer depth == 6
2025-05-04 22:56:03 +02:00
Héctor Ramón Jiménez
c5502f799a
Add devtools crates to document workflow 2025-05-04 22:50:39 +02:00
Héctor Ramón Jiménez
2d2888ee03
Store wgpu::Backend in image::Atlas 2025-05-04 22:46:51 +02:00
Héctor Ramón Jiménez
fcff94fca3
Make Attach struct public in devtools 2025-05-04 22:39:23 +02:00
Héctor Ramón Jiménez
6bf709e03e
Make anchoring explicit and improve reusability of text pipelines 2025-05-04 03:54:42 +02:00
Héctor Ramón Jiménez
d643bd5ba2
Add content method to plain::Paragraph 2025-05-04 00:38:51 +02:00
Héctor Ramón Jiménez
fe95b26d53
Fix missing inverse transformations in float widget 2025-05-04 00:36:56 +02:00
Héctor Ramón Jiménez
6a1f99e99d
Fix unaligned checkmark in checkbox 2025-05-03 22:29:14 +02:00
Héctor Ramón Jiménez
f031b99196
Return change flag in paragraph::Plain::update 2025-05-03 05:53:19 +02:00
Héctor
9b710a9aa8
Merge pull request #2922 from iced-rs/feature/smart-embedded-scrollbar
Smart Scrollbars
2025-05-03 04:36:10 +02:00