From 82d11b7d3e15d8175accf7579db1fbe528fc6583 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Wed, 16 Dec 2020 13:34:56 +0100 Subject: Add constant for default colours and selection tool --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 4e63387..2a1e5ed 100644 --- a/src/config.rs +++ b/src/config.rs @@ -19,6 +19,7 @@ pub struct ToolActivationKeys { pub icon: Button, pub polygon_room: Button, pub rect_room: Button, + pub selection: Button, pub wall: Button, } @@ -73,6 +74,7 @@ impl Default for Config { icon: Button::Keyboard(KeyboardKey::I), polygon_room: Button::Keyboard(KeyboardKey::P), rect_room: Button::Keyboard(KeyboardKey::R), + selection: Button::Keyboard(KeyboardKey::S), wall: Button::Keyboard(KeyboardKey::W), }, tool_general_keys: ToolGeneralKeys { -- cgit v1.2.3-70-g09d2