Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
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
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
劳工
zeroing-engine
Commits
d82d3f53
Commit
d82d3f53
authored
Mar 24, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输入框修改stage的click为mousedown
parent
ff29b190
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
manifest.json
manifest.json
+1
-1
TextInput.ts
src/zeroing/game-warpper/nodes/TextInput.ts
+1
-1
No files found.
manifest.json
View file @
d82d3f53
{
"id"
:
"engine"
,
"url"
:
"engine.47eb390007c368d3dc5648734153301ebead724b.js"
}
{
"id"
:
"engine"
,
"url"
:
"engine.d2f4eafa108b00ed5ac00e2d30ee98f8af4a9118.js"
}
\ No newline at end of file
\ No newline at end of file
src/zeroing/game-warpper/nodes/TextInput.ts
View file @
d82d3f53
...
@@ -258,7 +258,7 @@ export class TextInput extends Label implements IUIComponent {
...
@@ -258,7 +258,7 @@ export class TextInput extends Label implements IUIComponent {
private
onClickStatic
()
{
private
onClickStatic
()
{
this
.
setFocus
();
this
.
setFocus
();
this
.
stage
.
once
(
MouseEvent
.
CLICK
,
this
.
onClickStage
,
this
);
this
.
stage
.
once
(
MouseEvent
.
MOUSE_DOWN
,
this
.
onClickStage
,
this
);
}
}
private
onResize
()
{
private
onResize
()
{
...
...
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