Start on caching views
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
5904bcf1c2
commit
84c36066bc
7 changed files with 117 additions and 58 deletions
|
@ -601,7 +601,7 @@ impl Render for Dock {
|
|||
Axis::Horizontal => this.min_w(size).h_full(),
|
||||
Axis::Vertical => this.min_h(size).w_full(),
|
||||
})
|
||||
.child(entry.panel.to_any()),
|
||||
.child(entry.panel.to_any().cached()),
|
||||
)
|
||||
.child(handle)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue