Skip to content

Commit 63c198a

Browse files
committed
remove target texture from varients ui dropdowns.
1 parent dbee006 commit 63c198a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/ui/panel/states.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ function StatePanel() {
200200
}}
201201
>
202202
<div>
203-
<p>{tl('animatedJava.dialogs.variants.description')}</p>
203+
<p>
204+
{tl(
205+
'animatedJava.dialogs.variants.description'
206+
)}
207+
</p>
204208
</div>
205209
<div style={{ width: '100%', display: 'inline-block' }}>
206210
<ul
@@ -269,6 +273,11 @@ function StatePanel() {
269273
label: 'transparent',
270274
},
271275
...Texture.all
276+
.filter(
277+
(_) =>
278+
_.uuid !==
279+
t1.uuid
280+
)
272281
.sort(
273282
(a, b) =>
274283
a === t1
@@ -363,7 +372,9 @@ function StatePanel() {
363372
className="tooltip"
364373
style={{ marginLeft: '0px' }}
365374
>
366-
{intl.tl('animatedJava.panels.variants.addVariant.title')}
375+
{intl.tl(
376+
'animatedJava.panels.variants.addVariant.title'
377+
)}
367378
<div
368379
className="tooltip_description"
369380
style={{ marginLeft: '-5px' }}

0 commit comments

Comments
 (0)