feat: Install prettier and improve formatting

This commit is contained in:
Yiannis Christodoulou
2025-06-24 17:27:39 +03:00
parent bce3acca41
commit cdbb7a8de3
5 changed files with 25 additions and 8 deletions
@@ -2878,8 +2878,8 @@ const TimelineControls = ({
isPlayingSegments
? "Disabled during preview"
: isPlaying
? "Pause playback"
: "Play from current position"
? "Pause playback"
: "Play from current position"
}
style={{
userSelect: "none",
@@ -3142,8 +3142,8 @@ const TimelineControls = ({
isPlayingSegments
? "Disabled during preview"
: availableSegmentDuration < 0.5
? "Not enough space for new segment"
: "Create new segment"
? "Not enough space for new segment"
: "Create new segment"
}
disabled={availableSegmentDuration < 0.5 || isPlayingSegments}
onClick={async (e) => {
@@ -3735,8 +3735,8 @@ const TimelineControls = ({
isPlayingSegments
? "Disabled during preview"
: isPlaying
? "Pause playback"
: "Play from here until next segment"
? "Pause playback"
: "Play from here until next segment"
}
style={{
userSelect: "none",
@@ -612,7 +612,9 @@
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s, visibility 0.2s;
transition:
opacity 0.2s,
visibility 0.2s;
z-index: 1000;
pointer-events: none;
}
@@ -628,7 +630,9 @@
border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s, visibility 0.2s;
transition:
opacity 0.2s,
visibility 0.2s;
pointer-events: none;
}