From 7dc7149f7d1c04a6ef63252bbda5f12ca28bebb5 Mon Sep 17 00:00:00 2001 From: Martin Zwigl Date: Mon, 17 Mar 2025 22:14:52 +0100 Subject: [PATCH] trying to force re-render --- apps/coin_info/app.js | 5 ++++- apps/coin_info/metadata.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/coin_info/app.js b/apps/coin_info/app.js index ad7dee7af..5c84bce1d 100644 --- a/apps/coin_info/app.js +++ b/apps/coin_info/app.js @@ -70,7 +70,10 @@ function getChart() { tknChrtData = [1,2,3,4,5,6,7,8,9,8,7,6,5,4,]; currLoadMsg = ""; // - layout.render(); + // Manually clear and update the graph area + g.clearRect(layout.tknGraph.x, layout.tknGraph.y, layout.tknGraph.w, layout.tknGraph.h); + layout.forgetLazyState(); // Force a full re-render + layout.render(layout.tknGraph); // Render just the graph area logFile.write("2. rendered"); }) .catch(err => { diff --git a/apps/coin_info/metadata.json b/apps/coin_info/metadata.json index 4df27d568..f66e3d0af 100644 --- a/apps/coin_info/metadata.json +++ b/apps/coin_info/metadata.json @@ -1,7 +1,7 @@ { "id": "coin_info", "name": "Crypto-Coins Info", "shortName":"Coins Info", - "version": "0.06.41", + "version": "0.06.42", "description": "Crypto-Coins Infos with the help of the Binance API", "icon": "app.png", "tags": "clkinfo",