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
b33ff7f5
Commit
b33ff7f5
authored
Jan 13, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small
parent
0a6f32ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
src/ui/Duel/cemetery.tsx
src/ui/Duel/cemetery.tsx
+1
-1
src/ui/Duel/deck.tsx
src/ui/Duel/deck.tsx
+1
-1
src/ui/Duel/singleSlot.tsx
src/ui/Duel/singleSlot.tsx
+12
-8
No files found.
src/ui/Duel/cemetery.tsx
View file @
b33ff7f5
...
@@ -7,7 +7,7 @@ import {
...
@@ -7,7 +7,7 @@ import {
import
{
useAppSelector
}
from
"
../../hook
"
;
import
{
useAppSelector
}
from
"
../../hook
"
;
import
SingleSlot
from
"
./singleSlot
"
;
import
SingleSlot
from
"
./singleSlot
"
;
const
depth
=
0.0
2
;
const
depth
=
0.0
05
;
const
Cemeteries
=
()
=>
{
const
Cemeteries
=
()
=>
{
const
meCemetery
=
useAppSelector
(
selectMeCemetery
).
inner
;
const
meCemetery
=
useAppSelector
(
selectMeCemetery
).
inner
;
...
...
src/ui/Duel/deck.tsx
View file @
b33ff7f5
...
@@ -4,7 +4,7 @@ import { useAppSelector } from "../../hook";
...
@@ -4,7 +4,7 @@ import { useAppSelector } from "../../hook";
import
{
selectMeDeck
,
selectOpDeck
}
from
"
../../reducers/duel/deckSlice
"
;
import
{
selectMeDeck
,
selectOpDeck
}
from
"
../../reducers/duel/deckSlice
"
;
import
SingleSlot
from
"
./singleSlot
"
;
import
SingleSlot
from
"
./singleSlot
"
;
const
depth
=
0.0
2
;
const
depth
=
0.0
05
;
const
Deck
=
()
=>
(
const
Deck
=
()
=>
(
<>
<>
...
...
src/ui/Duel/singleSlot.tsx
View file @
b33ff7f5
...
@@ -10,7 +10,7 @@ import {
...
@@ -10,7 +10,7 @@ import {
}
from
"
../../reducers/duel/mod
"
;
}
from
"
../../reducers/duel/mod
"
;
const
shape
=
CONFIG
.
SingleSlotShape
;
const
shape
=
CONFIG
.
SingleSlotShape
;
const
depth
=
0.0
2
;
const
depth
=
0.0
05
;
const
SingleSlot
=
(
props
:
{
const
SingleSlot
=
(
props
:
{
state
:
CardState
[];
state
:
CardState
[];
...
@@ -25,13 +25,17 @@ const SingleSlot = (props: {
...
@@ -25,13 +25,17 @@ const SingleSlot = (props: {
if
(
props
.
state
.
length
!=
0
)
{
if
(
props
.
state
.
length
!=
0
)
{
dispatch
(
dispatch
(
setCardListModalInfo
(
setCardListModalInfo
(
props
.
state
.
map
((
item
)
=>
{
props
.
state
return
{
.
filter
(
name
:
item
.
occupant
?.
text
.
name
,
(
item
)
=>
item
.
occupant
!==
undefined
&&
item
.
occupant
.
id
!==
0
desc
:
item
.
occupant
?.
text
.
desc
,
)
imgUrl
:
`https://cdn02.moecube.com:444/images/ygopro-images-zh-CN/
${
item
.
occupant
?.
id
}.
jpg
`,
.
map
((
item
)
=>
{
};
return
{
})
name
:
item
.
occupant
?.
text
.
name
,
desc
:
item
.
occupant
?.
text
.
desc
,
imgUrl
:
`https://cdn02.moecube.com:444/images/ygopro-images-zh-CN/
${
item
.
occupant
?.
id
}.
jpg
`,
};
})
)
)
);
);
dispatch(setCardListModalIsOpen(true));
dispatch(setCardListModalIsOpen(true));
...
...
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