From 5b2d395ca71c8246c823fdc0c3307af5a8bbabbf Mon Sep 17 00:00:00 2001 From: MohammadKarimi Date: Thu, 24 Oct 2024 15:40:50 +1100 Subject: [PATCH] remove unused configuration property. --- src/Riter/Core/HotKey/HotKeysConfig.cs | 2 -- src/Riter/appsettings.json | 24 ++++++++---------------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/src/Riter/Core/HotKey/HotKeysConfig.cs b/src/Riter/Core/HotKey/HotKeysConfig.cs index b0dc566..70be3a7 100644 --- a/src/Riter/Core/HotKey/HotKeysConfig.cs +++ b/src/Riter/Core/HotKey/HotKeysConfig.cs @@ -5,8 +5,6 @@ public class Value public string Modifiers { get; init; } public string Key { get; init; } - - public string Description { get; init; } } public class HotKeysConfig diff --git a/src/Riter/appsettings.json b/src/Riter/appsettings.json index 2ad81c8..4a6f180 100644 --- a/src/Riter/appsettings.json +++ b/src/Riter/appsettings.json @@ -5,64 +5,56 @@ "Key": "Drawing", "Value": { "Modifiers": "", - "Key": "D", - "Description": "Drawing Action" + "Key": "D" } }, { "Key": "Erasing", "Value": { "Modifiers": "", - "Key": "E", - "Description": "Erasing Action" + "Key": "E" } }, { "Key": "HideAll", "Value": { "Modifiers": "CTRL", - "Key": "H", - "Description": "HideAll Action" + "Key": "H" } }, { "Key": "Trash", "Value": { "Modifiers": "CTRL", - "Key": "T", - "Description": "Trash Action" + "Key": "T" } }, { "Key": "Undo", "Value": { "Modifiers": "", - "Key": "Z", - "Description": "Undo Action" + "Key": "Z" } }, { "Key": "Redo", "Value": { "Modifiers": "", - "Key": "X", - "Description": "Redo Action" + "Key": "X" } }, { "Key": "Highlightr", "Value": { "Modifiers": "", - "Key": "H", - "Description": "Highlightr Action" + "Key": "H" } }, { "Key": "Release", "Value": { "Modifiers": "", - "Key": "R", - "Description": "Drawing Action" + "Key": "R" } } ]