fix: Pattern editor being shifted to the left on evaluate

This commit is contained in:
WerWolv
2025-02-16 20:50:49 +01:00
parent fcb5e18102
commit f4e1824b7b

View File

@@ -1089,10 +1089,6 @@ namespace hex::plugin::builtin {
ImGui::PopFont();
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + ImGui::GetStyle().FramePadding.y + 1_scaled);
if (m_patternEvaluating && m_runningEvaluators == 0) {
m_patternEvaluating = false;
m_textEditor.JumpToLine();
}
}
void ViewPatternEditor::drawEnvVars(ImVec2 size, std::list<EnvVar> &envVars) {