Reset current_step to 0 and update comments in machine_1 button highlighting logic
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user