From f121bdb3ac4736427b08de9c9bb105471683f14c Mon Sep 17 00:00:00 2001 From: amy Date: Sat, 4 Feb 2023 23:01:40 -0600 Subject: push from other pc --- display.html | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/display.html b/display.html index aa88b72..1b42867 100644 --- a/display.html +++ b/display.html @@ -174,7 +174,7 @@ display: inline-block; left: 0; } - + .bar-item { height: 80%; background-color: #c3c3c3; @@ -188,22 +188,25 @@ position: absolute; top: 0; } - #bar-items{ + + #bar-items { height: 100%; width: 100%; position: relative; display: block; } - #bar-children{ + + #bar-children { position: relative; width: 100%; height: 100%; display: flex; } - #bar-menu{ + + #bar-menu { display: block; - position:relative; + position: relative; height: 100%; background-color: red; } @@ -273,7 +276,7 @@ }) let px = 0; document.onmousemove = ((evm) => { - console.log(elemy.parentElement.clientWidth*(evm.clientX/elemy.parentElement.clientWidth)-elemy.parentElement.offsetLeft) + console.log(elemy.parentElement.clientWidth * (evm.clientX / elemy.parentElement.clientWidth) - (elemy.parentElement.offsetLeft + document.getElementById("root").offsetLeft)) //console.log((px - evm.clientX), px, evm.clientX, m) }) @@ -287,7 +290,7 @@ let a = '' let minx = 150; let miny = 150; - a += "
" + a += "
" //console.log(document.getElementById(uid).attributes["window-name"].value) a += "
" + name + "
" a += "
" + ` @@ -371,7 +374,7 @@ }) }) } - + ['resize-s', 'resize-n', 'resize-e', 'resize-w', 'resize-ne', 'resize-nw', 'resize-sw', 'resize-es'].forEach((sel) => { for (let ii = 0; ii != elec.length; ii++) { @@ -551,11 +554,11 @@ px = 0, py = 0; if (elem.className == 'scrollbar-point') { - - + + } - + } @@ -575,9 +578,9 @@
- - -
+ + +
-- cgit v1.2.3