fix: a truncated scan stays truncated, so a hit list with a hole is not reported clean

This commit is contained in:
Martino Ferrari committed 2026-10-08 10:03:46 +02:00
1 parent 415fceca87
commit 8ee4effb70
3 files changed
+8 -7

No files matched your search

-2
View File
@@ -9015,7 +9015,6 @@ gboolean condition_probe(gpointer user) {
/// scanned hit. `agree=1` is the assertion; `agree=0` means the two evaluators have drifted
/// apart, which is the whole failure mode separating `EventDetector` out was meant to
/// prevent. It then steps to a hit and reports the pinned axis against it.
int g_search_phase = 0;
double g_search_t0 = 0.0;
gboolean search_probe_report(gpointer user) {
@@ -9085,7 +9084,6 @@ gboolean search_probe(gpointer user) {
if (a->window == nullptr) return G_SOURCE_REMOVE;
// Reuse the condition probe's arming entirely: the point is that one condition gives two
// evaluators the same answer, so the condition must be set in exactly one place.
g_search_phase = 0;
condition_probe(a);
g_timeout_add(6000, search_probe_run, a);
return G_SOURCE_REMOVE;