Skip to content

Commit

Permalink
fixed cbp component
Browse files Browse the repository at this point in the history
  • Loading branch information
ritessshhh authored and ritessshhh committed Aug 6, 2024
1 parent d4e18b3 commit 4de4d11
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public class CBP_Component extends FrameLayout implements IEventDispatcher, ILoa
public String[] gen_stimTypeSet = null; // text/reference - for mixed stimulus items
public String[][] gen_stimulus_script = null; // List of uttereances describing each question

public int question_count = 7; // by default limit to 10 questions.
public int question_count = 10; // by default limit to 10 questions.
public String question_sequence = "SEQUENTIAL"; // question order - random / sequential (i.e. in stimulusSet order)

public boolean question_replacement= false; // Whether to allow questions to appear more than once when random order
Expand Down Expand Up @@ -283,8 +283,7 @@ protected void preProcessDataSource() {
// If question count is 0 - show all item in the stimulus set
//
if(question_count == 0) {
// question_count = gen_stimulusSet.length;
question_count = 5;
question_count = gen_stimulusSet.length;
}

// gen_xxx...type values are used when the type is consistent throughout
Expand Down

0 comments on commit 4de4d11

Please sign in to comment.