impr: Properly allow multi-threaded logging without messing up output

This commit is contained in:
WerWolv
2023-06-12 08:24:36 +02:00
parent ef1d831158
commit 7de367a944
2 changed files with 4 additions and 1 deletions

View File

@@ -540,7 +540,7 @@ namespace hex::plugin::builtin {
auto &runtime = ContentRegistry::PatternLanguage::getRuntime();
auto &evaluator = runtime.getInternals().evaluator;
if (ImGui::BeginChild("##debugger", size, true, ImGuiWindowFlags_AlwaysVerticalScrollbar)) {
if (ImGui::BeginChild("##debugger", size, true)) {
const auto &breakpoints = evaluator->getBreakpoints();
auto line = this->m_textEditor.GetCursorPosition().mLine + 1;