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
03c1fc5c
Commit
03c1fc5c
authored
May 23, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add player name in life-bar
parent
5979c756
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/styles/mat.css
src/styles/mat.css
+1
-0
src/ui/Duel/PlayMat/Mat.tsx
src/ui/Duel/PlayMat/Mat.tsx
+2
-2
No files found.
src/styles/mat.css
View file @
03c1fc5c
...
@@ -64,6 +64,7 @@ button:focus-visible {
...
@@ -64,6 +64,7 @@ button:focus-visible {
padding
:
0.8em
1.6em
;
padding
:
0.8em
1.6em
;
background-color
:
#A9A9A9
;
background-color
:
#A9A9A9
;
border-radius
:
8px
;
border-radius
:
8px
;
text-align
:
left
;
border
:
1px
solid
transparent
;
border
:
1px
solid
transparent
;
color
:
black
;
color
:
black
;
opacity
:
.4
;
opacity
:
.4
;
...
...
src/ui/Duel/PlayMat/Mat.tsx
View file @
03c1fc5c
...
@@ -64,8 +64,8 @@ export const Mat = () => {
...
@@ -64,8 +64,8 @@ export const Mat = () => {
<>
<>
<
Menu
/>
<
Menu
/>
<
div
id=
"life-bar-container"
>
<
div
id=
"life-bar-container"
>
<
div
id=
"life-bar"
>
{
snap
.
initInfo
.
me
.
life
}
</
div
>
<
div
id=
"life-bar"
>
{
`${snap.initInfo.me.name}: ${snap.initInfo.me.life}`
}
</
div
>
<
div
id=
"life-bar"
>
{
snap
.
initInfo
.
op
.
life
}
</
div
>
<
div
id=
"life-bar"
>
{
`${snap.initInfo.op.name}: ${snap.initInfo.op.life}`
}
</
div
>
</
div
>
</
div
>
<
div
id=
"camera"
>
<
div
id=
"camera"
>
<
div
id=
"board"
>
<
div
id=
"board"
>
...
...
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