aboutsummaryrefslogtreecommitdiff
path: root/src/text/rich.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-21 12:15:51 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-11-21 12:15:51 +0100
commit8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5 (patch)
treeb891df1099d279b784661860d8b181b39da9dc47 /src/text/rich.rs
parentdocs: update changelog (diff)
downloadiced_selection-8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5.tar.gz
chore: update as necessary for upstream iced changes
Diffstat (limited to '')
-rw-r--r--src/text/rich.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text/rich.rs b/src/text/rich.rs
index 5ca3051..4a7549f 100644
--- a/src/text/rich.rs
+++ b/src/text/rich.rs
@@ -447,8 +447,8 @@ where
),
bounds.size()
+ Size::new(
- span.padding.horizontal(),
- span.padding.vertical(),
+ span.padding.x(),
+ span.padding.y(),
),
);