From ed94a0fb395db9a206029b84ba3d9c568a1c8fc3 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Mon, 15 Feb 2021 22:15:58 +0530 Subject: [PATCH] Text Alignment made easy and convenient. (#1804) * text alignment made easy * added description and removed id Co-authored-by: Jeffrey Warren --- examples/lib/defaultHtmlStepUi.js | 22 +++++++++++++++++++++- examples/lib/mapHtmltypes.js | 3 +++ src/modules/TextOverlay/info.json | 4 ++++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/examples/lib/defaultHtmlStepUi.js b/examples/lib/defaultHtmlStepUi.js index cb22797b..d50caab3 100644 --- a/examples/lib/defaultHtmlStepUi.js +++ b/examples/lib/defaultHtmlStepUi.js @@ -121,7 +121,14 @@ function DefaultHtmlStepUi(_sequencer, options) { paramVal + '">' + '' + ''; } - else { // Non color-picker input types + else if(inputDesc.type === 'button'){ + html = '
\ + click to select coordinates\ +
'; + } + else { // Non color-picker input types and other than a button + html = '