Skip to content

Commit de28e79

Browse files
authored
Merge pull request elm#27 from norpan/patch-1
scrollLeft and scrollTop was switched in documentation
2 parents 6fba59e + 0a63af8 commit de28e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Browser/Dom.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ may be helpful to know that:
183183
184184
- `scene.width` = [`scrollWidth`][sw]
185185
- `scene.height` = [`scrollHeight`][sh]
186-
- `viewport.x` = [`scrollTop`][st]
187-
- `viewport.y` = [`scrollLeft`][sl]
186+
- `viewport.x` = [`scrollLeft`][sl]
187+
- `viewport.y` = [`scrollTop`][st]
188188
- `viewport.width` = [`clientWidth`][cw]
189189
- `viewport.height` = [`clientHeight`][ch]
190190

0 commit comments

Comments
 (0)