Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
PhonoDrop
Commits
50f13f7e
Commit
50f13f7e
authored
May 24, 2021
by
Sylvain Coulange
Browse files
débug space() après stress
parent
b8cbfea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/scripts/phonodrop_v2.js
View file @
50f13f7e
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment