diff options
author | Akshay <[email protected]> | 2021-04-25 05:15:17 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-04-25 05:15:17 +0100 |
commit | c322b0ffd7a0baa31b200cec82aa386c26188b53 (patch) | |
tree | 9fa0d6d6b7cf0bdf0957f9d9f03297911f300ab4 /src/app.rs | |
parent | 5c239f9a420ea86fae08be70deece25e0e1b98ff (diff) |
add `export-png` primitive
Diffstat (limited to 'src/app.rs')
-rw-r--r-- | src/app.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |