1
0
mirror of synced 2025-01-11 05:42:15 +01:00

impr: Make Copy as ASCII string use ALT + C to be more consistent

This commit is contained in:
WerWolv 2024-12-15 11:02:34 +01:00
parent 0a6a8c671f
commit 002b7b4f87

View File

@ -1132,7 +1132,7 @@ namespace hex::plugin::builtin {
/* Copy As */ /* Copy As */
ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.edit", "hex.builtin.view.hex_editor.menu.edit.copy_as", "hex.builtin.view.hex_editor.copy.ascii" }, ICON_VS_SYMBOL_TEXT, 1200, ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.edit", "hex.builtin.view.hex_editor.menu.edit.copy_as", "hex.builtin.view.hex_editor.copy.ascii" }, ICON_VS_SYMBOL_TEXT, 1200,
CurrentView + CTRLCMD + SHIFT + Keys::C, CurrentView + ALT + Keys::C,
[] { [] {
auto selection = ImHexApi::HexEditor::getSelection(); auto selection = ImHexApi::HexEditor::getSelection();
if (selection.has_value() && selection != Region::Invalid()) if (selection.has_value() && selection != Region::Invalid())