Skip to content

Commit 273b904

Browse files
Update 2-ui/3-event-details/4-mouse-drag-and-drop/article.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent e5638d9 commit 273b904

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/3-event-details/4-mouse-drag-and-drop

1 file changed

+1
-1
lines changed

2-ui/3-event-details/4-mouse-drag-and-drop/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ ball.onmousedown = function(event) {
146146
moveAt(event.pageX, event.pageY);
147147
148148
// sposta il pallone alle coordinate (pageX, pageY)
149-
// tenendo conto dello spostamento iniziale
149+
// tenendo conto dello scostamento iniziale
150150
function moveAt(pageX, pageY) {
151151
ball.style.left = pageX - *!*shiftX*/!* + 'px';
152152
ball.style.top = pageY - *!*shiftY*/!* + 'px';

0 commit comments

Comments
 (0)