修复文本框链接问题

This commit is contained in:
sj
2022-10-25 20:34:38 +08:00
parent 76f6039a1d
commit 46437af817
20 changed files with 1653 additions and 972 deletions
+2 -2
View File
@@ -256,7 +256,7 @@ var scrawl = function (options) {
if (img) {
if (!scaleCon) {
picBoard.style.cssText = "position:relative;z-index:1;"+picBoard.style.cssText;
picBoard.style.cssText = "position:relative;z-index:999;"+picBoard.style.cssText;
img.style.cssText = "position: absolute;top:" + (canvas.height - img.height) / 2 + "px;left:" + (canvas.width - img.width) / 2 + "px;";
var scale = new ScaleBoy();
picBoard.appendChild(scale.init());
@@ -268,7 +268,7 @@ var scrawl = function (options) {
picBoard.style.zIndex = "";
} else {
scaleCon.style.visibility = "visible";
picBoard.style.cssText += "position:relative;z-index:1";
picBoard.style.cssText += "position:relative;z-index:999";
}
}
}