Removed the material-design dependency.

This commit is contained in:
2019-05-21 13:58:26 +02:00
parent cdf331463e
commit 51bd9cf170
7 changed files with 16 additions and 21 deletions
+4 -3
View File
@@ -13006,8 +13006,8 @@
* // Create the app
* const app = new PIXIApp({
* view: canvas,
* width: 900,
* height: 250
* width: 600,
* height: 400
* }).setup().run()
*
* // Create the Scrollview
@@ -13015,7 +13015,7 @@
* .add('elephant', './assets/elephant-1.jpg')
* .load((loader, resources) => {
* const sprite = new PIXI.Sprite(resources.elephant.texture)
* const scrollview = new Scrollview({boxWidth: 400, boxHeight: 180})
* const scrollview = new Scrollview({boxWidth: 400, boxHeight: 300})
* scrollview.content.addChild(sprite)
* app.scene.addChild(scrollview)
*
@@ -13030,6 +13030,7 @@
* Creates an instance of a Scrollview.
*
* @constructor
* @see https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html
*/
constructor(opts = {}) {