Remove MutableAppContext::downgrade
This commit is contained in:
parent
620eedb727
commit
4638391412
3 changed files with 11 additions and 16 deletions
|
@ -402,7 +402,7 @@ impl Element for BufferElement {
|
|||
ctx: &mut AfterLayoutContext,
|
||||
) {
|
||||
if let Some(layout) = layout {
|
||||
let app = ctx.app.downgrade();
|
||||
let app = ctx.app.as_ref();
|
||||
|
||||
let view = self.view.read(app);
|
||||
view.clamp_scroll_left(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue