Skip to content

Commit

Permalink
Various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laktyushin committed Dec 6, 2024
1 parent 704156e commit c33f840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ public final class MediaEditor {
let item = MediaEditorValues.VideoCollageItem(
content: content,
frame: item.frame,
videoTrimRange: nil,
videoTrimRange: 0 ..< item.duration,
videoOffset: nil,
videoVolume: passedFirstVideo ? 0.0 : nil
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public final class MediaScrubberComponent: Component {
transition.setAlpha(view: self.trimView, alpha: trimVisible ? 1.0 : 0.0)

var ghostTrimVisible = false
if let lowestVideoId, !component.isCollage && self.selectedTrackId != lowestVideoId {
if let lowestVideoId, self.selectedTrackId != lowestVideoId {
ghostTrimVisible = true
}

Expand Down

0 comments on commit c33f840

Please sign in to comment.