Commit 50f13f7e authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

débug space() après stress

parent b8cbfea6
......@@ -425,7 +425,7 @@ function space() {
var anchor = document.getElementById('anchor')
anchor.style.left = lastSelect.offsetLeft+lastSelect.offsetWidth + document.getElementById('spaceWidth').valueAsNumber + "px"
anchor.style.top = lastSelect.offsetTop + lastSelect.offsetHeight - 55 + "px" // remonter le curseur de la moitié de sa hauteur
anchor.style.top = lastSelect.offsetTop + lastSelect.offsetHeight/2 - 55/2 + "px" // remonter le curseur de la moitié de sa hauteur
anchor.style.display = "block"
lastSelect = anchor
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment