Skip to content

Commit

Permalink
fix flems demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cuire committed Feb 7, 2023
1 parent 24748cf commit d103dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
{
name: 'viewport.min.js',
type: 'script',
content: await load('viewport.min.js'),
content: await load('pixi_viewport.umd.cjs'),
}
],
links: [{
name: 'PIXI',
url: 'https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.0.2/browser/pixi.js',
url: 'https://cdnjs.cloudflare.com/ajax/libs/pixi.js/7.1.2/pixi.min.js',
}],
console: false,
})
Expand Down
2 changes: 1 addition & 1 deletion docs/public/sample/viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function create(renderer) {
// forceHitArea: null, // change the default hitArea from world size to a new value
// noTicker: false, // set this if you want to manually call update() function on each frame
// ticker: PIXI.Ticker.shared, // use this PIXI.ticker for updates
interaction: renderer.plugins.interaction, // InteractionManager, available from instantiated WebGLRenderer/CanvasRenderer.plugins.interaction - used to calculate pointer position relative to canvas location on screen
events: renderer.events, // Events - used to calculate pointer position relative to canvas location on screen
// divWheel: null, // div to attach the wheel event (uses document.body as default)
// disableOnContextMenu: false, // remove oncontextmenu=() => {} from the divWheel element
})
Expand Down

0 comments on commit d103dd2

Please sign in to comment.