Skip to content

Commit

Permalink
Fix deprecations in app options
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Feb 15, 2024
1 parent 4a27a89 commit a4441bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/client/sprites.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const sound = PIXI.sound.Sound.from({
width: 1024,
height: 100,
backgroundColor: 0xffffff,
view: document.getElementById('waveform'),
canvas: document.getElementById('waveform'),
});
const baseTexture = PIXI.sound.utils.render(sound, {
width: 1024,
Expand Down
2 changes: 1 addition & 1 deletion examples/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="css/range.css">
<link rel="stylesheet" href="css/examples.css?v=2">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/javascript.min.js"></script>
<script src="https://pixijs.download/next-v8/pixi.js"></script>
<script src="https://pixijs.download/next-v8/pixi.min.js"></script>
<script src="../dist/pixi-sound.js"></script>
</head>
<body ontouchstart="">
Expand Down
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h3>Utilities</h3>
window.waveform.init({
width: 1024,
height: 128,
view: document.getElementById('waveform'),
canvas: document.getElementById('waveform'),
backgroundColor: 0xffffff
});
</code></pre>
Expand Down

0 comments on commit a4441bb

Please sign in to comment.