fix: a window leg's band comment names the sine it is now read against

The leg moved from the square to the sine when the band proved untraversable
by a +/-1 square; the comment beside the band still described the square.
This commit is contained in:
Martino Ferrari committed 2026-10-07 18:18:33 +02:00
1 parent a00663510f
commit 601923f1d1
1 file changed
+3 -2
+3 -2
View File
@@ -8604,8 +8604,9 @@ gboolean condition_probe_arm(gpointer user) {
gtk_drop_down_set_selected(GTK_DROP_DOWN(a->trigger_edge_drop), edge_idx); gtk_drop_down_set_selected(GTK_DROP_DOWN(a->trigger_edge_drop), edge_idx);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_width_spin), 0.010); gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_width_spin), 0.010);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_timeout_spin), g_condition.timeout); gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_timeout_spin), g_condition.timeout);
// The band for the window leg: straddling zero, well inside the square's +/-1, so each // The band for the window leg: straddling zero and well inside the sine's +/-1, so the sine
// transition both enters and leaves it. Harmless for the other legs, which ignore `level2`. // crosses into it and out of it twice a period. Harmless for the other legs, which ignore
// `level2`.
gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_level2_spin), 0.5); gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_level2_spin), 0.5);
// Zero for every leg but the window, whose band is `[-0.5, +0.5]`. // Zero for every leg but the window, whose band is `[-0.5, +0.5]`.
gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_level_spin), gtk_spin_button_set_value(GTK_SPIN_BUTTON(a->trigger_level_spin),