Bump version. - icy_draw - icy_draw is the successor to mystic draw. fork / mirror
(HTM) git clone https://git.drkhsh.at/icy_draw.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e854c51b6c69a572964a570d6a99aa71731e3e98
(DIR) parent c32fffab8b10db225f5e571962b64a077ecfd818
(HTM) Author: Mike Krüger <mkrueger@posteo.de>
Date: Fri, 13 Oct 2023 03:35:53 +0200
Bump version.
Diffstat:
M Cargo.toml | 2 +-
M src/model/tools/fill_imp.rs | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/Cargo.toml b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "icy_draw"
-version = "0.0.1"
+version = "0.1.0"
edition = "2021"
authors = ["Mike Krüger <mkrueger@posteo.de>"]
description = "A drawing program for ANSI & ASCII art and other text-based art forms."
(DIR) diff --git a/src/model/tools/fill_imp.rs b/src/model/tools/fill_imp.rs
@@ -149,9 +149,7 @@ impl Tool for FillTool {
fn handle_click(&mut self, editor: &mut AnsiEditor, button: i32, pos: Position, _pos_abs: Position, _response: &egui::Response) -> Option<Message> {
if button == 1 {
- let Ok(layer) = editor.get_cur_layer_index() else {
- return None
- };
+ let Ok(layer) = editor.get_cur_layer_index() else { return None };
if layer >= editor.buffer_view.lock().get_buffer().layers.len() {
return None;
}