Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
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
nanahira
ygopro
Commits
e046f274
Commit
e046f274
authored
Sep 26, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revise
parent
fb917639
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/event_handler.cpp
gframe/event_handler.cpp
+2
-2
ocgcore
ocgcore
+1
-1
No files found.
gframe/event_handler.cpp
View file @
e046f274
...
@@ -1577,7 +1577,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1577,7 +1577,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break
;
break
;
}
}
case
irr
:
:
KEY_KEY_R
:
{
case
irr
:
:
KEY_KEY_R
:
{
if(!event.KeyInput.PressedDown)
if
(
!
event
.
KeyInput
.
PressedDown
&&
!
mainGame
->
env
->
hasFocus
(
mainGame
->
ebChatInput
)
)
mainGame
->
textFont
->
setTransparency
(
true
);
mainGame
->
textFont
->
setTransparency
(
true
);
break
;
break
;
}
}
...
@@ -1588,7 +1588,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1588,7 +1588,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
case
irr
:
:
KEY_F6
:
case
irr
:
:
KEY_F6
:
case
irr
:
:
KEY_F7
:
{
case
irr
:
:
KEY_F7
:
{
if
(
!
event
.
KeyInput
.
PressedDown
&&
!
mainGame
->
dInfo
.
isReplay
&&
mainGame
->
dInfo
.
player_type
!=
7
&&
mainGame
->
dInfo
.
isStarted
if
(
!
event
.
KeyInput
.
PressedDown
&&
!
mainGame
->
dInfo
.
isReplay
&&
mainGame
->
dInfo
.
player_type
!=
7
&&
mainGame
->
dInfo
.
isStarted
&& !mainGame->wCardDisplay->isVisible()) {
&&
!
mainGame
->
wCardDisplay
->
isVisible
()
&&
!
mainGame
->
env
->
hasFocus
(
mainGame
->
ebChatInput
)
)
{
int
loc_id
=
0
;
int
loc_id
=
0
;
display_cards
.
clear
();
display_cards
.
clear
();
switch
(
event
.
KeyInput
.
Key
)
{
switch
(
event
.
KeyInput
.
Key
)
{
...
...
ocgcore
@
f7089e78
Subproject commit
6a44f18c16c8848139c9e5c26f8aec0623b7900c
Subproject commit
f7089e78827fea0aebc245639b27f59f76f5f35f
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