Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some layers refs #403

Merged
merged 1 commit into from
Aug 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/layers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ end

"""
to_layer_m( frames, body; width, height, position)
Helper method for the [`JLayer`](@ref) macro
Helper method for the [`@JLayer`](@ref) macro
Returns an expression that creates a layer and pushes the objects defined withing the body to the layer
:transparent is the default while the other :opaque copies the video's background
"""
Expand Down Expand Up @@ -213,7 +213,7 @@ end
remove_from_video(object::Object)

Removes an object or a list of objects from the main video.
This is a helper method for the [`@to_layer!`](@ref) method and is supposed to be used internally
This is a helper method for the [`to_layer!`](@ref) method and is supposed to be used internally
"""
function remove_from_video(object::Object)
filter!(x -> x != object, CURRENT_VIDEO[1].objects)
Expand Down