Clip text to viewport bounds instead of layout bounds
This commit is contained in:
parent
99899d49cc
commit
936d480267
23 changed files with 177 additions and 115 deletions
|
|
@ -64,6 +64,7 @@ impl text::Renderer for Null {
|
|||
_paragraph: &Self::Paragraph,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
@ -72,6 +73,7 @@ impl text::Renderer for Null {
|
|||
_editor: &Self::Editor,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
@ -80,6 +82,7 @@ impl text::Renderer for Null {
|
|||
_paragraph: Text<'_, Self::Font>,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue