Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
9ee60b1a
Commit
9ee60b1a
authored
Oct 18, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防止故意快速频繁点击而闪退
parent
87ecf9bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Classes/gframe/deck_con.cpp
Classes/gframe/deck_con.cpp
+2
-0
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+2
-0
No files found.
Classes/gframe/deck_con.cpp
View file @
9ee60b1a
...
...
@@ -1116,8 +1116,10 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
s32
y
=
event
.
MouseInput
.
Y
;
irr
::
core
::
position2di
pos
(
x
,
y
);
if
(
x
<
(
200
*
mainGame
->
xScale
)
&&
y
<
(
270
*
mainGame
->
yScale
))
{
mainGame
->
gMutex
.
lock
();
mainGame
->
textFont
->
setTransparency
(
true
);
mainGame
->
ClearChatMsg
();
mainGame
->
gMutex
.
unlock
();
break
;
}
//touch the pic of detail to refresh textfonts
is_starting_dragging
=
false
;
...
...
Classes/gframe/event_handler.cpp
View file @
9ee60b1a
...
...
@@ -1053,8 +1053,10 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
hovered_location
=
0
;
irr
::
core
::
position2di
pos
(
x
,
y
);
if
(
x
<
(
200
*
mainGame
->
xScale
)
&&
y
<
(
270
*
mainGame
->
yScale
))
{
mainGame
->
gMutex
.
lock
();
mainGame
->
textFont
->
setTransparency
(
true
);
mainGame
->
ClearChatMsg
();
mainGame
->
gMutex
.
unlock
();
break
;
}
//touch the pic of detail to refresh textfonts
if
(
x
<
300
*
mainGame
->
xScale
)
...
...
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