Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
Book_Read
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
Book_Read
Commits
f8dc3958
Commit
f8dc3958
authored
Oct 31, 2021
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理适配
parent
5016642d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
Book_Read.fire
play/assets/Book_Read/scene/Book_Read.fire
+8
-8
hitItem.js
play/assets/Book_Read/scene/hitItem.js
+2
-2
No files found.
play/assets/Book_Read/scene/Book_Read.fire
View file @
f8dc3958
...
@@ -558,9 +558,9 @@
...
@@ -558,9 +558,9 @@
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 1,
"_alignFlags":
4
1,
"_left":
0
,
"_left":
-27
,
"_right":
0
,
"_right":
-27
,
"_top": -20,
"_top": -20,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -571,7 +571,7 @@
...
@@ -571,7 +571,7 @@
"_isAbsBottom": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth":
0
,
"_originalWidth":
1334
,
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "64VLnTwUFGwKD+MCQpWnxr"
"_id": "64VLnTwUFGwKD+MCQpWnxr"
},
},
...
@@ -908,8 +908,8 @@
...
@@ -908,8 +908,8 @@
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags":
1
,
"_alignFlags":
9
,
"_left":
0
,
"_left":
6.013000000000034
,
"_right": 0,
"_right": 0,
"_top": 3.52800000000002,
"_top": 3.52800000000002,
"_bottom": 0,
"_bottom": 0,
...
@@ -3040,9 +3040,9 @@
...
@@ -3040,9 +3040,9 @@
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags":
1
,
"_alignFlags":
33
,
"_left": 0,
"_left": 0,
"_right":
0
,
"_right":
1.8110000000000355
,
"_top": 8.937000000000012,
"_top": 8.937000000000012,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
...
play/assets/Book_Read/scene/hitItem.js
View file @
f8dc3958
...
@@ -41,8 +41,8 @@ cc.Class({
...
@@ -41,8 +41,8 @@ cc.Class({
let
rect
=
this
.
data
.
rect
let
rect
=
this
.
data
.
rect
this
.
node
.
x
=
(
rect
.
x
+
rect
.
width
/
2
)
/
scale
this
.
node
.
x
=
(
rect
.
x
+
rect
.
width
/
2
)
/
scale
this
.
node
.
y
=
(
-
rect
.
y
-
rect
.
height
/
2
)
/
scale
this
.
node
.
y
=
(
-
rect
.
y
-
rect
.
height
/
2
)
/
scale
this
.
node
.
width
=
rect
.
width
/
scale
this
.
node
.
width
=
rect
.
width
/
scale
*
0.8
this
.
node
.
height
=
rect
.
height
/
scale
this
.
node
.
height
=
rect
.
height
/
scale
*
0.8
this
.
sprite
.
node
.
active
=
false
this
.
sprite
.
node
.
active
=
false
if
(
data
.
useHand
)
{
if
(
data
.
useHand
)
{
this
.
hand
.
active
=
true
this
.
hand
.
active
=
true
...
...
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