Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
6c834fb4
Commit
6c834fb4
authored
Oct 20, 2021
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
fba8d250
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ShareHintPanel.ts
project/src/panels/ShareHintPanel.ts
+2
-1
No files found.
project/src/panels/ShareHintPanel.ts
View file @
6c834fb4
...
@@ -15,12 +15,13 @@ export class ShareHintPanel extends FYGE.Sprite {
...
@@ -15,12 +15,13 @@ export class ShareHintPanel extends FYGE.Sprite {
super
()
super
()
this
.
initUi
();
this
.
initUi
();
}
}
initUi
()
{
initUi
()
{
let
btn
=
this
.
addChild
(
Tools
.
getRect
(
750
,
1624
,
0x000000
))
let
btn
=
this
.
addChild
(
Tools
.
getRect
(
750
,
1624
,
0x000000
))
btn
.
alpha
=
0.7
;
btn
.
alpha
=
0.7
;
let
bg
=
this
.
addChild
(
Tools
.
getSprite
(
'share.png'
))
let
bg
=
this
.
addChild
(
Tools
.
getSprite
(
'share.png'
))
bg
.
position
.
set
(
2
5
0
,
180
+
layers
.
stageOffsetY
)
bg
.
position
.
set
(
2
0
0
,
180
+
layers
.
stageOffsetY
)
bg
.
mouseChildren
=
false
;
bg
.
mouseChildren
=
false
;
bg
.
mouseEnable
=
false
;
bg
.
mouseEnable
=
false
;
bg
.
addChild
(
Tools
.
getText
(
'点击分享'
,
30
,
"#ffffff"
)).
position
.
set
(
120
,
240
)
bg
.
addChild
(
Tools
.
getText
(
'点击分享'
,
30
,
"#ffffff"
)).
position
.
set
(
120
,
240
)
...
...
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