diff options
author | 2024-07-28 14:40:58 +0200 | |
---|---|---|
committer | 2024-07-28 14:40:58 +0200 | |
commit | c47a6ed7b639cf76086554fe2b65a8acecb61ea2 (patch) | |
tree | abb30c0620ccab372ed6058f1fd5a2b04e1e4726 /core/src/renderer | |
parent | 23a7e9f981728e8a95039db8eb8e9f3d8c6ba3d7 (diff) | |
parent | 41a7318e5df3a49bf6e7fc2110155f2f22ff7e60 (diff) | |
download | iced-c47a6ed7b639cf76086554fe2b65a8acecb61ea2.tar.gz iced-c47a6ed7b639cf76086554fe2b65a8acecb61ea2.tar.bz2 iced-c47a6ed7b639cf76086554fe2b65a8acecb61ea2.zip |
Merge pull request #2516 from tarkah/feat/span-background
Add background styling to span / rich text
Diffstat (limited to 'core/src/renderer')
-rw-r--r-- | core/src/renderer/null.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs index d8d3c50a..5c7513c6 100644 --- a/core/src/renderer/null.rs +++ b/core/src/renderer/null.rs @@ -111,6 +111,10 @@ impl text::Paragraph for () { fn hit_span(&self, _point: Point) -> Option<usize> { None } + + fn span_bounds(&self, _index: usize) -> Vec<Rectangle> { + vec![] + } } impl text::Editor for () { |