diff options
Diffstat (limited to 'src/app.rs')
-rw-r--r-- | src/app.rs | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -832,13 +832,7 @@ impl<'ctx> AppState<'ctx> { | |||
832 | end, | 832 | end, |
833 | active_end, | 833 | active_end, |
834 | }); | 834 | }); |
835 | } else if end.is_none() { | 835 | } else if end.is_none() || active_end { |
836 | self.brush = Brush::RectSelect(RectSelectBrush { | ||
837 | start, | ||
838 | end: contact, | ||
839 | active_end, | ||
840 | }); | ||
841 | } else if active_end { | ||
842 | self.brush = Brush::RectSelect(RectSelectBrush { | 836 | self.brush = Brush::RectSelect(RectSelectBrush { |
843 | start, | 837 | start, |
844 | end: contact, | 838 | end: contact, |