ruffle/core
Chris Midgley ac0fc40345
avm1: implement scroll, maxscroll and bottomScroll for TextField (#4698)
* tests: add tests for scroll

* avm1: implement scroll, maxscroll, bottomScroll

* chore: fmt

* docs: note that scroll is 1-based

* fix: non-word wrapped text with manual breaks is scrollable

* chore: move magic number to const

* chore: avoid mut with extra if

* chore: moving clamping behaviour into core

* refactor: eagerly compute line data

* fix: make scroll work when text is aligned right

* chore: clippy

* docs: add more information about line_data

* tests: add more test cases for scroll
2021-07-08 19:23:30 +02:00
..
assets text: Add dummy implementation of device text 2019-10-07 23:23:45 -07:00
macros core: Fix documentation spelling 2021-06-21 20:57:49 +03:00
src avm1: implement scroll, maxscroll and bottomScroll for TextField (#4698) 2021-07-08 19:23:30 +02:00
Cargo.toml core: Remove `branch = "main"` in Cargo.toml 2021-06-24 01:15:22 -07:00