Remove unnecessary buffer_mut_from_editor call
This commit is contained in:
parent
f98328f4f1
commit
529c459c56
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ impl editor::Editor for Editor {
|
||||||
if new_bounds != internal.bounds {
|
if new_bounds != internal.bounds {
|
||||||
log::trace!("Updating size of `Editor`...");
|
log::trace!("Updating size of `Editor`...");
|
||||||
|
|
||||||
buffer_mut_from_editor(&mut internal.editor).set_size(
|
buffer.set_size(
|
||||||
font_system.raw(),
|
font_system.raw(),
|
||||||
Some(new_bounds.width),
|
Some(new_bounds.width),
|
||||||
Some(new_bounds.height),
|
Some(new_bounds.height),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue