From 6a9c989766ce28084aff0fcd049f4368174441fb Mon Sep 17 00:00:00 2001 From: Noctr <88264186+Noctr@users.noreply.github.com> Date: Sun, 1 Aug 2021 23:38:13 +0700 Subject: [PATCH] Update controls.js --- data/js/controls.js | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/data/js/controls.js b/data/js/controls.js index 5191b0e..76d5f4e 100644 --- a/data/js/controls.js +++ b/data/js/controls.js @@ -263,6 +263,7 @@ function start() { } else { parent = $("#row"); } + if (data.visible) { parent.append( "
" + "" ); + } break; case UI_TEXT_INPUT: @@ -535,6 +546,7 @@ function start() { } else { parent = $("#row"); } + if (data.visible) { parent.append( "" + "" ); + } break; case UI_TAB: + if (data.visible) { $("#tabsnav").append( "