diff options
| author | denis <denismaximov98@gmail.com> | 2021-03-31 09:44:41 +0300 |
|---|---|---|
| committer | denis <denismaximov98@gmail.com> | 2021-03-31 09:44:41 +0300 |
| commit | 2b59edbe9d97fce23bd3ca2716d9eb540aa77695 (patch) | |
| tree | 10c398d82bfcf4f315b818275fb2914c6a8e317a /src/common | |
| parent | wip: replace the impl with a fn load_palette instead (diff) | |
| download | sl0ppij-2b59edbe9d97fce23bd3ca2716d9eb540aa77695.tar.gz sl0ppij-2b59edbe9d97fce23bd3ca2716d9eb540aa77695.tar.xz sl0ppij-2b59edbe9d97fce23bd3ca2716d9eb540aa77695.zip | |
wip: need to set the default for Palette in the plugins
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/input/handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs index 163e5ddf..a843c7cc 100644 --- a/src/common/input/handler.rs +++ b/src/common/input/handler.rs @@ -256,7 +256,7 @@ impl InputHandler { // TODO this should probably be automatically generated in some way pub fn get_mode_info(mode: InputMode) -> ModeInfo { let mut keybinds: Vec<(String, String)> = vec![]; - let mut palette = load_palette(); + let palette = load_palette(); match mode { InputMode::Normal | InputMode::Locked => {} InputMode::Resize => { |
