forked from cybrespace/pinafore
reduce viewport render factor for better scrolling perf
This commit is contained in:
parent
56f7efb78f
commit
8bd3cf24e3
|
@ -2,7 +2,7 @@ import { mark, stop } from '../../_utils/marks'
|
||||||
import { RealmStore } from '../../_utils/RealmStore'
|
import { RealmStore } from '../../_utils/RealmStore'
|
||||||
import { reselect } from '../../_utils/reselect'
|
import { reselect } from '../../_utils/reselect'
|
||||||
|
|
||||||
const VIEWPORT_RENDER_FACTOR = 3
|
const VIEWPORT_RENDER_FACTOR = 1.5
|
||||||
|
|
||||||
class VirtualListStore extends RealmStore {
|
class VirtualListStore extends RealmStore {
|
||||||
constructor (state) {
|
constructor (state) {
|
||||||
|
|
Loading…
Reference in New Issue