Decouple caching from layering and simplify everything
This commit is contained in:
parent
4a356cfc16
commit
6d3e1d835e
15 changed files with 896 additions and 1199 deletions
|
|
@ -195,8 +195,8 @@ impl geometry::frame::Backend for Frame {
|
|||
self.transform = self.stack.pop().expect("Pop transform");
|
||||
}
|
||||
|
||||
fn draft(&mut self, size: Size) -> Self {
|
||||
Self::new(size)
|
||||
fn draft(&mut self, clip_bounds: Rectangle) -> Self {
|
||||
Self::new(clip_bounds.size())
|
||||
}
|
||||
|
||||
fn paste(&mut self, frame: Self, at: Point) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue