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
82a45e60
Commit
82a45e60
authored
May 20, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize small
parent
18baf14b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
src/stores/matStore/store.ts
src/stores/matStore/store.ts
+0
-1
src/stores/matStore/types.ts
src/stores/matStore/types.ts
+0
-2
src/styles/chain.css
src/styles/chain.css
+2
-1
src/ui/Duel/PlayMat/Chain.tsx
src/ui/Duel/PlayMat/Chain.tsx
+1
-1
No files found.
src/stores/matStore/store.ts
View file @
82a45e60
...
@@ -264,7 +264,6 @@ export const matStore: MatState = proxy<MatState>({
...
@@ -264,7 +264,6 @@ export const matStore: MatState = proxy<MatState>({
result
:
ygopro
.
StocGameMessage
.
MsgWin
.
ActionType
.
UNKNOWN
,
result
:
ygopro
.
StocGameMessage
.
MsgWin
.
ActionType
.
UNKNOWN
,
waiting
:
false
,
waiting
:
false
,
unimplemented
:
0
,
unimplemented
:
0
,
delay
:
useConfig
().
ui
.
commonDelay
,
// methods
// methods
in
:
getZone
,
in
:
getZone
,
isMe
,
isMe
,
...
...
src/stores/matStore/types.ts
View file @
82a45e60
...
@@ -97,8 +97,6 @@ export interface MatState {
...
@@ -97,8 +97,6 @@ export interface MatState {
unimplemented
:
number
;
// 未处理的`Message`
unimplemented
:
number
;
// 未处理的`Message`
delay
:
number
;
// MSG处理的延迟时间,目的时为了让一些动画处理完后再开始处理下一个MSG。TODO:正确处理与`timeLimit`的关系
// >>> methods >>>
// >>> methods >>>
/** 根据zone获取hands/masters/magics... */
/** 根据zone获取hands/masters/magics... */
in
:
(
zone
:
ygopro
.
CardZone
)
=>
BothSide
<
DuelFieldState
>
;
in
:
(
zone
:
ygopro
.
CardZone
)
=>
BothSide
<
DuelFieldState
>
;
...
...
src/styles/chain.css
View file @
82a45e60
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
position
:
absolute
;
position
:
absolute
;
margin
:
25%
30%
;
margin
:
25%
30%
;
font-size
:
50px
;
font-size
:
50px
;
font-style
:
oblique
;
font-style
:
initial
;
color
:
black
;
}
}
@keyframes
flade
{
@keyframes
flade
{
...
...
src/ui/Duel/PlayMat/Chain.tsx
View file @
82a45e60
...
@@ -2,7 +2,7 @@ import "@/styles/chain.css";
...
@@ -2,7 +2,7 @@ import "@/styles/chain.css";
import
React
from
"
react
"
;
import
React
from
"
react
"
;
const
CIRCLES_COUNT
=
8
;
const
CIRCLES_COUNT
=
10
;
const
EASE
=
0.2
;
const
EASE
=
0.2
;
const
R
=
60
;
const
R
=
60
;
...
...
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