Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
苍蓝
rd-ygopro
Commits
0f849425
Commit
0f849425
authored
May 31, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d7055ece
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
gframe/deck_con.cpp
gframe/deck_con.cpp
+2
-8
No files found.
gframe/deck_con.cpp
View file @
0f849425
...
...
@@ -341,14 +341,8 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
switch
(
event
.
MouseInput
.
Event
)
{
case
irr
:
:
EMIE_LMOUSE_PRESSED_DOWN
:
{
position2d
<
s32
>
mouse_pos
=
position2d
<
s32
>
(
event
.
MouseInput
.
X
,
event
.
MouseInput
.
Y
);
if
(
mainGame
->
cbDBLFList
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbDBDecks
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbCardType
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbCardType2
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbLimit
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbAttribute
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbRace
->
getElementFromPoint
(
mouse_pos
)
||
mainGame
->
cbSortType
->
getElementFromPoint
(
mouse_pos
))
irr
::
gui
::
IGUIElement
*
root
=
mainGame
->
env
->
getRootGUIElement
();
if
(
root
->
getElementFromPoint
(
mouse_pos
)
!=
root
)
break
;
if
(
mainGame
->
wCategories
->
isVisible
()
||
mainGame
->
wQuery
->
isVisible
())
break
;
...
...
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