Remove unnecessary buffer_mut_from_editor call

This commit is contained in:
Héctor Ramón Jiménez 2024-09-04 21:28:44 +02:00
parent f98328f4f1
commit 529c459c56
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -500,7 +500,7 @@ impl editor::Editor for Editor {
if new_bounds != internal.bounds {
log::trace!("Updating size of `Editor`...");
buffer_mut_from_editor(&mut internal.editor).set_size(
buffer.set_size(
font_system.raw(),
Some(new_bounds.width),
Some(new_bounds.height),