Working on scatter doctest

This commit is contained in:
Uwe Oestermeier 2019-07-05 14:12:49 +02:00
parent 20ac5c387e
commit a77226e42b

View File

@ -104,12 +104,13 @@ can be disambiguated as moves, zooms. or taps.
<script class="doctest"> <script class="doctest">
let app2 = new App() let app2 = new App()
let scatterContainer2 = new DOMScatterContainer(main2) let scatterContainer2 = new DOMScatterContainer(main2, { stopEvents: true})
let scatter2 = new DOMScatter(interactiveContent, scatterContainer2, { let scatter2 = new DOMScatter(interactiveContent, scatterContainer2, {
x: 44, x: 44,
y: 44, y: 44,
width: 274, width: 274,
height: 184, height: 184,
throwVisibility: 88, throwVisibility: 88,
minScale: 0.5, minScale: 0.5,
maxScale: 1.5}) maxScale: 1.5})