From c322b0ffd7a0baa31b200cec82aa386c26188b53 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 25 Apr 2021 09:45:17 +0530 Subject: add `export-png` primitive --- src/app.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/app.rs') diff --git a/src/app.rs b/src/app.rs index d0089e9..66a27e3 100644 --- a/src/app.rs +++ b/src/app.rs @@ -904,8 +904,7 @@ impl<'ctx> AppState<'ctx> { }); } } - Brush::Circle(CircleBrush { size }) - | Brush::Line(LineBrush { size, .. }) => { + Brush::Circle(CircleBrush { size }) => { let pt = (x, y); let val = self.active_color; if let Ok(o) = self.paint_point(pt, val, size) { -- cgit v1.2.3