From fbffe89110b38986440979b87e1e53a245444aeb Mon Sep 17 00:00:00 2001 From: error414 Date: Wed, 16 Oct 2024 17:58:13 +0200 Subject: [PATCH 1/2] dont init switchery for non checkbox inputs --- tabs/osd.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tabs/osd.html b/tabs/osd.html index dbf20bdef..0d75c4ea0 100644 --- a/tabs/osd.html +++ b/tabs/osd.html @@ -391,39 +391,39 @@

@@ -473,4 +473,4 @@

Font:

- + \ No newline at end of file From 4546a7392b125074ac99668882c215ba5cf9bcf0 Mon Sep 17 00:00:00 2001 From: error414 Date: Wed, 16 Oct 2024 18:20:16 +0200 Subject: [PATCH 2/2] speed up OSD tab loading if there are too many custom OSD elements. --- tabs/osd.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tabs/osd.js b/tabs/osd.js index 45887c5bf..490625e2a 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -3549,6 +3549,7 @@ function createCustomElements(){ } var customElementsContainer = $('#osdCustomElements'); + var init = true; for(var i = 0; i < FC.OSD_CUSTOM_ELEMENTS.settings.customElementsCount; i++){ var label = $('