mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-10 10:20:00 +01:00
Fixes threshold bug (#1041)
* Fixes threshold bug * Update examples/lib/defaultHtmlSequencerUi.js Co-Authored-By: Divy123 <31225007+Divy123@users.noreply.github.com> * Fix threshold module bug
This commit is contained in:
committed by
Jeffrey Warren
parent
1aa9a0e99c
commit
269215f48b
@@ -42,11 +42,12 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
|
||||
|
||||
function addStepUi() {
|
||||
if ($(addStepSel + " select").val() == "none") return;
|
||||
var newStepName;
|
||||
if(typeof arguments[0] !== "string")
|
||||
newStepName = $(addStepSel + " select option").html().toLowerCase();
|
||||
else newStepName = arguments[0]
|
||||
|
||||
var newStepName = $(addStepSel + " select").val();
|
||||
|
||||
if(!newStepName) newStepName = arguments[0]
|
||||
|
||||
|
||||
/*
|
||||
* after adding the step we run the sequencer from defined step
|
||||
* and since loadImage is not a part of the drawarray the step lies at current
|
||||
|
||||
Reference in New Issue
Block a user