Compare commits

..

1 Commits

Author SHA1 Message Date
Enrico Lumetti 59a4a6cfe8 Add Viewport up/down scroll 2021-03-02 13:36:47 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ impl Widget<CanvasState> for CanvasWidget {
let size = ctx.size();
let rect = size.to_rect();
ctx.clip(rect);
ctx.fill(rect, &Color::WHITE);
let page_content_size = data.versioned_canvas.get().content_size();