Reset current_step to 0 and update comments in machine_1 button highlighting logic

This commit is contained in:
Jeppe Bundgaard
2026-01-28 19:06:04 +01:00
parent 5171d55e1f
commit db99b293de
@@ -29,7 +29,7 @@ class machine_1 extends dynamicimages_image
public int $button_columns_spacing = 442; // Spacing between columns of buttons
public array $highlighted_buttons = [
// Array of button positions to highlight (0 indexed, left to right, top to bottom)
0, 2, 4, 7
// e.g., 0, 2, 4, 7
];
// Reset button
public int $reset_button_highlight_size = 380; // size of the highlighted reset button
@@ -38,7 +38,7 @@ class machine_1 extends dynamicimages_image
// Button counts
public int $button_counter = 0; // Is incremented every time a button is drawn
// Current step
public int $current_step = 3; // No "click counter" completed yet = 0
public int $current_step = 0; // No "click counter" completed yet = 0
// Config
public bool $only_generate_current_step = false; // If true, only generate the current step button highlights