From 1df323e7ac092eda2444a795ae391c0b4fc2101d Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Mon, 7 Oct 2024 18:06:02 +0200 Subject: [PATCH] make selecting look nicer --- assets/area_corner.png | Bin 109 -> 105 bytes src/editor.rs | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/area_corner.png b/assets/area_corner.png index 11e3d2be8c6d9c676dfa810c8eba8707d999c320..15150fc010fb4744dd6f547b820ec5ba852acf8b 100644 GIT binary patch delta 74 zcmd1JoS@=r;OXKRV$qxY=l}oz^=w`YXBcwW{K|Shgv&4hfv2mV%Q~loCID9a8*%^u delta 78 zcmd1IouJ}r;_2cTV$qxY=l}oz^=w`YXBcwW{?(j8DRhb diff --git a/src/editor.rs b/src/editor.rs index 2464af1..66b2c1b 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -658,7 +658,8 @@ impl Editor { Tool::Arrow => self.tool_menu_arrow.arrow_texture_name().into(), Tool::Mirror => self.tool_menu_mirror.texture_name().into(), Tool::Digits(_) => "selection".into(), - Tool::SelectArea(_, _) => "area_full".into(), + Tool::SelectArea(_, false) => "area_full".into(), + Tool::SelectArea(_, true) => "transparent".into(), }; d.draw_texture_ex(