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

Implement audio preview fields #2448

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

salianifo
Copy link
Contributor

@salianifo salianifo commented Oct 18, 2024

Supersedes: #2440 Closes: #1072

Changed the audio previews to be built-in fields.
Added background previews as well since they both needed to be added to event.gd and event_block.gd.

There is an issue with the background event (unrelated to this PR directly though):

  • If using a custom scene with a string argument, _arg_type isn't saved, so reloading the timeline thinks that the argument is an image again, causing the preview to show up with no image. This should be addressed separately though as it is unrelated to this PR.

The background preview does cause a warning about fit expand modes not being supported by Flow Containers, but that doesn't effect the functionality at all. It is set this way as the image is given a predefined height for the preview, but can adapt to whatever width the image has.

Edit:
Removed background previews for now until we can decide the implementation details.

@salianifo salianifo changed the title Implement audio/image preview fields Implement audio preview fields Oct 19, 2024
@salianifo
Copy link
Contributor Author

Removed background previews for now until we can decide the implementation details. They can be added in a new PR later.

@Jowan-Spooner Jowan-Spooner added Needs testing More feedback/testing would be good Approved This can be added, but is not on any roadmap yet labels Oct 22, 2024
@Jowan-Spooner
Copy link
Collaborator

Looks good to me for now. Possible changes to the audio events might require more work, but this is a cool addition.

@Jowan-Spooner Jowan-Spooner merged commit 434ed7d into dialogic-godot:main Oct 26, 2024
3 checks passed
@salianifo salianifo deleted the preview-fields branch October 26, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This can be added, but is not on any roadmap yet Needs testing More feedback/testing would be good
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement an audio preview
2 participants