Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
修复已知BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Apr 14, 2020
1 parent 084552c commit 570d934
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script src="https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pixi.js@4.6.1/dist/pixi.min.js"></script>
<!-- live2dv3.js -->
<script src="https://cdn.jsdelivr.net/npm/live2dv3@1.1.6/live2dv3.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/live2dv3@1.1.7/live2dv3.min.js"></script>
<!-- 加载Live2d模型 -->
<script>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ <h1>第一次加载较慢,请耐心等待!</h1>
window.onload = () => {
new l2dViewer({
el: document.getElementById('L2dCanvas'),
basePath: 'https://cdn.jsdelivr.net/npm/live2dv3@1.1.6/assets',
basePath: 'https://cdn.jsdelivr.net/npm/live2dv3@1.1.7/assets',
modelName: 'biaoqiang_3',
width: 500,
height: 300,
sizeLimit: false,
mobileLimit: false,
sounds: [
'sounds/demo.mp3',
'https://cdn.jsdelivr.net/npm/live2dv3@1.1.6/assets/biaoqiang_3/sounds/demo.mp3'
'https://cdn.jsdelivr.net/npm/live2dv3@1.1.7/assets/biaoqiang_3/sounds/demo.mp3'
]
})
}
Expand Down
3 changes: 1 addition & 2 deletions live2dv3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,6 @@ class l2dViewer { // eslint-disable-line no-unused-vars
} catch (e) {
console.error('Sound playback failed:', e)
}
this.playAudio()
}
}

Expand Down Expand Up @@ -1856,7 +1855,7 @@ class l2dViewer { // eslint-disable-line no-unused-vars
}
}
}
const VERSION = '1.1.6'
const VERSION = '1.1.7'
function sayHello () {
var _a
if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "live2dv3",
"version": "1.1.6",
"version": "1.1.7",
"description": "在网页上添加 moc3 格式的Live2d模型 https://live2dv3demo.hclonely.com/",
"main": "live2dv3.js",
"scripts": {
Expand Down

0 comments on commit 570d934

Please sign in to comment.