Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbx_Pronunciation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Sbx_Pronunciation
Commits
609922f1
Commit
609922f1
authored
Dec 20, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 骨骼动画修复
parent
4c1a0b98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
18 deletions
+4
-18
Sbx_Pronunciation.meta
assets/Sbx_Pronunciation.meta
+1
-15
Cartoon.js
assets/Sbx_Pronunciation/script/Cartoon.js
+3
-3
No files found.
assets/Sbx_Pronunciation.meta
View file @
609922f1
{
"ver": "1.1.2",
"uuid": "f6e31e97-ccb9-4c5f-a2fa-b4eed558e692",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"f6e31e97-ccb9-4c5f-a2fa-b4eed558e692","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
assets/Sbx_Pronunciation/script/Cartoon.js
View file @
609922f1
...
...
@@ -408,9 +408,9 @@ class DragonBones {
let
sx
=
parentNode
.
width
/
animaNode
.
width
;
let
sy
=
parentNode
.
height
/
animaNode
.
height
;
animaNode
.
setScale
(
Math
.
min
(
sx
,
sy
));
//
let sx = parentNode.width / animaNode.width;
//
let sy = parentNode.height / animaNode.height;
//
animaNode.setScale(Math.min(sx, sy));
if
(
callback
)
{
callback
(
this
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment