summaryrefslogtreecommitdiffstats
path: root/core/src/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/text.rs')
-rw-r--r--core/src/text.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/text.rs b/core/src/text.rs
index 697fa628..edef79c2 100644
--- a/core/src/text.rs
+++ b/core/src/text.rs
@@ -202,7 +202,7 @@ pub trait Renderer: crate::Renderer {
text: &Self::Paragraph,
position: Point,
color: Color,
- viewport: Rectangle,
+ clip_bounds: Rectangle,
);
/// Draws the given [`Editor`] at the given position and with the given
@@ -212,7 +212,7 @@ pub trait Renderer: crate::Renderer {
editor: &Self::Editor,
position: Point,
color: Color,
- viewport: Rectangle,
+ clip_bounds: Rectangle,
);
/// Draws the given [`Text`] at the given position and with the given
@@ -222,6 +222,6 @@ pub trait Renderer: crate::Renderer {
text: Text<'_, Self::Font>,
position: Point,
color: Color,
- viewport: Rectangle,
+ clip_bounds: Rectangle,
);
}