From df02337cdf514fa85162f19850306a5723b01f20 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Lazo <30321688+EddyTheCo@users.noreply.github.com> Date: Fri, 16 Feb 2024 09:18:10 +0100 Subject: [PATCH 1/3] Update README.md --- Client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/README.md b/Client/README.md index 3e5c965..dddc664 100644 --- a/Client/README.md +++ b/Client/README.md @@ -6,7 +6,7 @@ The Proof of Work has to be performed by the node. This application is meant to be used on the testnet. If using the mainnet **you are the ONLY responsible for the eventual loss of your funds**. -One can download the client application from the releases of this repo or use the [web app](https://eddytheco.github.io/Dlockers/Client/) +One can download the client application from the releases of this repo or use the [web app](https://eddytheco.github.io/DLockers/Client/) ## How to use it From 3afeb1e04397c0cab0d327973622ba5194496313 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Lazo <30321688+EddyTheCo@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:32:10 +0100 Subject: [PATCH 2/3] improved the wasm client --- Client/ServerMap/src/wasmmap.cpp | 8 ++--- Client/qml/window.qml | 1 - wasm/Client/index.html | 2 +- wasm/Client/js/scripts.js | 51 ++++++++++++++------------------ wasm/Client/style.css | 1 - 5 files changed, 28 insertions(+), 35 deletions(-) diff --git a/Client/ServerMap/src/wasmmap.cpp b/Client/ServerMap/src/wasmmap.cpp index 83f7ab2..6d9e8d5 100644 --- a/Client/ServerMap/src/wasmmap.cpp +++ b/Client/ServerMap/src/wasmmap.cpp @@ -7,13 +7,13 @@ EM_JS(void, js_setVisible, (const bool visible), { if(visible) { - document.getElementById("map").style.zIndex = "1000"; - document.getElementById("qtrootDiv").style.zIndex = "1"; + document.getElementById("map").style.visibility = "visible"; + document.getElementById("qtrootDiv").style.visibility = "hidden"; } else { - document.getElementById("map").style.zIndex = "1"; - document.getElementById("qtrootDiv").style.zIndex = "1000"; + document.getElementById("map").style.visibility = "hidden"; + document.getElementById("qtrootDiv").style.visibility = "visible"; } }); diff --git a/Client/qml/window.qml b/Client/qml/window.qml index 2ff085d..2174321 100644 --- a/Client/qml/window.qml +++ b/Client/qml/window.qml @@ -9,7 +9,6 @@ import Esterv.DLockers.Client ApplicationWindow { - visible: true id:window FontLoader { id: webFont diff --git a/wasm/Client/index.html b/wasm/Client/index.html index 6e2b08d..4883eb0 100644 --- a/wasm/Client/index.html +++ b/wasm/Client/index.html @@ -23,7 +23,7 @@