impr: Make out variable values selectable and copyable in pattern editor
This commit is contained in:
parent
92a9843ef7
commit
e9b140b75c
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user