diff --git a/client/src/features/editors/list/EventList.jsx b/client/src/features/editors/list/EventList.jsx
index 8b43078fa..11a9ad78a 100644
--- a/client/src/features/editors/list/EventList.jsx
+++ b/client/src/features/editors/list/EventList.jsx
@@ -1,10 +1,9 @@
import style from './List.module.css';
-import { createRef, Fragment, useEffect, useMemo, useState } from 'react';
+import { createRef, useEffect, useMemo, useState } from 'react';
import { useSocket } from 'app/context/socketContext';
import tinykeys from 'tinykeys';
import Empty from 'common/state/Empty';
import EventListItem from './EventListItem';
-import { AnimatePresence, motion } from 'framer-motion';
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
import { useAtom } from 'jotai';
import { SelectSetting } from 'app/context/settingsAtom';
@@ -94,22 +93,6 @@ export default function EventList(props) {
return ;
}
- // motion
- const cursorVariants = {
- hidden: {
- scale: 0,
- },
- visible: {
- scale: 1,
- transition: {
- duration: 0.3,
- },
- },
- exit: {
- scale: 0,
- },
- };
-
// DND
const handleOnDragEnd = (result) => {
// drop outside of area
@@ -131,18 +114,6 @@ export default function EventList(props) {
return (
-
- {cursor === -1 && (
-
- )}
-
{(provided) => (
@@ -157,7 +128,10 @@ export default function EventList(props) {
cumulativeDelay += e.duration;
} else if (e.type === 'block') cumulativeDelay = 0;
return (
-
+
-
- {cursor === index && (
-
- )}
-
-
+
);
})}
{provided.placeholder}
diff --git a/client/src/features/editors/list/List.module.css b/client/src/features/editors/list/List.module.css
index e676a162c..339f84d3d 100644
--- a/client/src/features/editors/list/List.module.css
+++ b/client/src/features/editors/list/List.module.css
@@ -21,11 +21,15 @@
}
.cursor {
- width: 90%;
- min-height: 2px;
- background-color: #ff7597;
- border-radius: 2px;
- margin: 0 auto;
- /* transition: 1s;
- transition-property: all; */
+ width: 100%;
+ background: linear-gradient(
+ 180deg,
+ #ff7597 0%,
+ #0000 10%,
+ #0000 90%,
+ #ff7597 100%
+ );
+ border-radius: 20px;
+ transition: 0.3s;
+ transition-property: all;
}