mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 04:10:04 +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() {
|
function addStepUi() {
|
||||||
if ($(addStepSel + " select").val() == "none") return;
|
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
|
* 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
|
* and since loadImage is not a part of the drawarray the step lies at current
|
||||||
|
|||||||
Reference in New Issue
Block a user