Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
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
love_飞影
Neos
Commits
7a7e5281
Commit
7a7e5281
authored
May 26, 2023
by
timel
Committed by
Chunchi Che
May 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove log
parent
05e8030a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
15 deletions
+7
-15
src/service/duel/selectIdleCmd.ts
src/service/duel/selectIdleCmd.ts
+0
-8
src/ui/Duel/Message/HintNotification.tsx
src/ui/Duel/Message/HintNotification.tsx
+6
-4
src/ui/Duel/NewPlayMat/Card/index.tsx
src/ui/Duel/NewPlayMat/Card/index.tsx
+1
-3
No files found.
src/service/duel/selectIdleCmd.ts
View file @
7a7e5281
...
@@ -41,14 +41,6 @@ export default (selectIdleCmd: MsgSelectIdleCmd) => {
...
@@ -41,14 +41,6 @@ export default (selectIdleCmd: MsgSelectIdleCmd) => {
interactType
,
interactType
,
response
:
data
.
response
,
response
:
data
.
response
,
});
});
console
.
log
(
"
idleTypeToInteractType
"
,
cardStore
.
at
(
location
,
player
)[
sequence
],
{
location
:
ygopro
.
CardZone
[
location
],
sequence
,
}
);
cardStore
.
at
(
location
,
player
)[
sequence
].
idleInteractivities
.
push
({
cardStore
.
at
(
location
,
player
)[
sequence
].
idleInteractivities
.
push
({
...
tmp
,
...
tmp
,
interactType
,
interactType
,
...
...
src/ui/Duel/Message/HintNotification.tsx
View file @
7a7e5281
...
@@ -41,14 +41,16 @@ export const HintNotification = () => {
...
@@ -41,14 +41,16 @@ export const HintNotification = () => {
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
currentPhase
)
{
if
(
currentPhase
)
{
const
message
=
fetchStrings
(
"
!system
"
,
Phase2StringCodeMap
.
get
(
currentPhase
)
??
0
);
api
.
open
({
api
.
open
({
message
:
fetchStrings
(
message
,
"
!system
"
,
Phase2StringCodeMap
.
get
(
currentPhase
)
??
0
),
placement
:
"
topRight
"
,
placement
:
"
topRight
"
,
style
:
style
,
style
:
style
,
});
});
console
.
log
(
message
);
}
}
},
[
currentPhase
]);
},
[
currentPhase
]);
...
...
src/ui/Duel/NewPlayMat/Card/index.tsx
View file @
7a7e5281
import
React
,
{
useEffect
,
type
CSSProperties
,
type
FC
,
useState
}
from
"
react
"
;
import
React
,
{
useEffect
,
type
CSSProperties
,
type
FC
,
useState
}
from
"
react
"
;
import
{
cardStore
,
messageStore
,
CardType
}
from
"
@/stores
"
;
import
{
cardStore
,
messageStore
,
CardType
}
from
"
@/stores
"
;
import
"
./index.scss
"
;
import
"
./index.scss
"
;
import
{
useSnapshot
,
subscribe
}
from
"
valtio
"
;
import
{
useSnapshot
}
from
"
valtio
"
;
import
{
subscribeKey
}
from
"
valtio/utils
"
;
import
{
watch
}
from
"
valtio/utils
"
;
import
{
useSpring
,
animated
,
to
}
from
"
@react-spring/web
"
;
import
{
useSpring
,
animated
,
to
}
from
"
@react-spring/web
"
;
import
{
ygopro
}
from
"
@/api
"
;
import
{
ygopro
}
from
"
@/api
"
;
import
{
useConfig
}
from
"
@/config
"
;
import
{
useConfig
}
from
"
@/config
"
;
...
...
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