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 editor playing object samples while paused after cancelling exit #19063

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

Joehuu
Copy link
Member

@Joehuu Joehuu commented Jul 9, 2022

@@ -24,6 +24,7 @@ public class TestSceneEditorSaving : EditorSavingTestScene
public void TestCantExitWithoutSaving()
{
AddRepeatStep("Exit", () => InputManager.Key(Key.Escape), 10);
AddAssert("Sample playback disabled", () => Editor.SamplePlaybackDisabled.Value);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still passes on master. Please make sure to check tests actually fail without the fix.

@frenzibyte frenzibyte self-requested a review July 11, 2022 19:58
Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems better now.

@frenzibyte frenzibyte requested a review from peppy July 11, 2022 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Objects play sounds in the editor after showing the "prompt for save" dialog
5 participants