# HG changeset patch # User Edouard Tisserant # Date 1613276113 -3600 # Node ID ac3ec66e9c6d478325ed53d7bb3c2d9a374ac9d5 # Parent 784c839d42597ba11c3b604943b986986b45a404 SVGHMI: remove forgotten debug code diff -r 784c839d4259 -r ac3ec66e9c6d svghmi/svghmi.js --- a/svghmi/svghmi.js Fri Feb 12 22:00:07 2021 +0100 +++ b/svghmi/svghmi.js Sun Feb 14 05:15:13 2021 +0100 @@ -279,7 +279,6 @@ if(persistent_indexes.has(index)){ let varname = persistent_indexes.get(index); - console.log(varname+"="+value+"; max-age=3153600000"); document.cookie = varname+"="+value+"; max-age=3153600000"; } diff -r 784c839d4259 -r ac3ec66e9c6d svghmi/svghmi.py --- a/svghmi/svghmi.py Fri Feb 12 22:00:07 2021 +0100 +++ b/svghmi/svghmi.py Sun Feb 14 05:15:13 2021 +0100 @@ -539,8 +539,6 @@ langs,translated_messages = MatchTranslations(translations, messages, errcallback=self.GetCTRoot().logger.write_warning) - print(langs,translated_messages) - return TranslationToEtree(langs,translated_messages) def CTNGenerate_C(self, buildpath, locations): diff -r 784c839d4259 -r ac3ec66e9c6d svghmi/widget_scrollbar.ysl2 --- a/svghmi/widget_scrollbar.ysl2 Fri Feb 12 22:00:07 2021 +0100 +++ b/svghmi/widget_scrollbar.ysl2 Sun Feb 14 05:15:13 2021 +0100 @@ -42,7 +42,6 @@ let new_y = this.range_elt.y.baseVal.value + Math.round(Math.min(this.position,range) * pixels / units); let new_height = Math.round(maxh * size/range); - console.log(new_y, new_height); this.cursor_elt.y.baseVal.value = new_y; this.cursor_elt.height.baseVal.value = new_height;