Remove Editor::min_bounds and use bounds instead

This commit is contained in:
Héctor Ramón Jiménez 2023-09-14 18:57:09 +02:00
parent 8cad1d682a
commit c7d02e24e6
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 2 additions and 24 deletions

View file

@ -131,10 +131,6 @@ impl text::Editor for () {
Size::ZERO
}
fn min_bounds(&self) -> Size {
Size::ZERO
}
fn update(
&mut self,
_new_bounds: Size,