Commit 77d1cbfc authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

correction bug position curseur quand space()

parent b0e8b277
......@@ -295,7 +295,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 + "px" // remonter le curseur de la moitié de sa hauteur
anchor.style.top = lastSelect.offsetTop + lastSelect.offsetHeight - 55 + "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