aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-04-25 05:15:17 +0100
committerAkshay <[email protected]>2021-04-25 05:15:17 +0100
commitc322b0ffd7a0baa31b200cec82aa386c26188b53 (patch)
tree9fa0d6d6b7cf0bdf0957f9d9f03297911f300ab4 /src/app.rs
parent5c239f9a420ea86fae08be70deece25e0e1b98ff (diff)
add `export-png` primitive
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs3
1 files changed, 1 insertions, 2 deletions
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> {
904 }); 904 });
905 } 905 }
906 } 906 }
907 Brush::Circle(CircleBrush { size }) 907 Brush::Circle(CircleBrush { size }) => {
908 | Brush::Line(LineBrush { size, .. }) => {
909 let pt = (x, y); 908 let pt = (x, y);
910 let val = self.active_color; 909 let val = self.active_color;
911 if let Ok(o) = self.paint_point(pt, val, size) { 910 if let Ok(o) = self.paint_point(pt, val, size) {