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
05ed6e30
Commit
05ed6e30
authored
Jan 22, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate singleSlot.tsx
parent
190bf880
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/ui/Duel/singleSlot.tsx
src/ui/Duel/singleSlot.tsx
+7
-0
No files found.
src/ui/Duel/singleSlot.tsx
View file @
05ed6e30
...
@@ -19,6 +19,11 @@ const SingleSlot = (props: {
...
@@ -19,6 +19,11 @@ const SingleSlot = (props: {
})
=>
{
})
=>
{
const
boxRef
=
useRef
(
null
);
const
boxRef
=
useRef
(
null
);
const
dispatch
=
store
.
dispatch
;
const
dispatch
=
store
.
dispatch
;
const
edgeRender
=
props
.
state
.
find
(
(
item
)
=>
item
.
placeInteractivities
||
item
.
idleInteractivities
.
length
>
0
)
!==
undefined
;
const
edgesWidth
=
2.0
;
useClick
(
useClick
(
(
_event
)
=>
{
(
_event
)
=>
{
...
@@ -58,6 +63,8 @@ const SingleSlot = (props: {
...
@@ -58,6 +63,8 @@ const SingleSlot = (props: {
}
}
position={props.position}
position={props.position}
rotation={props.rotation}
rotation={props.rotation}
enableEdgesRendering
edgesWidth={edgeRender ? edgesWidth : 0}
>
>
<standardMaterial
<standardMaterial
name="single-slot-mat"
name="single-slot-mat"
...
...
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