Skip to content

Commit 818aace

Browse files
committed
Finish selected
1 parent a8139eb commit 818aace

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.68",
3+
"version": "0.1.69",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Modals/Modal.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,11 @@ export const ModalActionList = ({
385385
<>
386386
<StyledModalEntryList
387387
color={theme.palette.text}
388-
entryColor={theme.palette.primary}
388+
entryColor={
389+
selected == entry.name
390+
? theme.palette.secondary
391+
: theme.palette.primary
392+
}
389393
hoverColor={theme.palette.secondary}
390394
deleteColor={theme.palette.button.error}
391395
roundness={theme.roundness}
@@ -398,7 +402,9 @@ export const ModalActionList = ({
398402
<StyledModalActionEntry
399403
color={theme.palette.text}
400404
entryColor={
401-
selected == entry.name ? theme.palette.secondary : theme.palette.primary
405+
selected == entry.name
406+
? theme.palette.secondary
407+
: theme.palette.primary
402408
}
403409
hoverColor={theme.palette.secondary}
404410
deleteColor={theme.palette.button.error}

0 commit comments

Comments
 (0)