mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
impr: Make out variable values selectable and copyable in pattern editor
This commit is contained in:
@@ -1038,7 +1038,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ImGui::PushItemWidth(-1);
|
||||
if (variable.outVariable) {
|
||||
ImGui::TextUnformatted(variable.value.toString(true).c_str());
|
||||
ImGuiExt::TextFormattedSelectable("{}", variable.value.toString(true).c_str());
|
||||
} else if (variable.inVariable) {
|
||||
const std::string label { "##" + name };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user