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

When bellSound changes, update the bellAudioElements src #906

Merged
merged 2 commits into from
Aug 19, 2017

Conversation

npezza93
Copy link
Contributor

Fixes #904

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 71.748% when pulling 81cb308 on npezza93:sync-bell-sound-on-change into 9ab17de on sourcelair:v3.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 71.748% when pulling 81cb308 on npezza93:sync-bell-sound-on-change into 9ab17de on sourcelair:v3.

src/Terminal.ts Outdated
@@ -2303,6 +2304,12 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
this.helperContainer.removeChild(this.bellAudioElement);
}
}

private syncBellSound(): void {
Copy link
Member

Choose a reason for hiding this comment

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

Let's merge this functionality into preloadBellSound, and let's call is syncBellSound since it also removes.

@Tyriar Tyriar added this to the 3.0.0 milestone Aug 19, 2017
@coveralls
Copy link

coveralls commented Aug 19, 2017

Coverage Status

Coverage decreased (-0.03%) to 71.769% when pulling f983e4e on npezza93:sync-bell-sound-on-change into 9ab17de on sourcelair:v3.

@Tyriar
Copy link
Member

Tyriar commented Aug 19, 2017

Thanks for fixing this 😃

@Tyriar Tyriar merged commit f251047 into xtermjs:v3 Aug 19, 2017
@npezza93 npezza93 deleted the sync-bell-sound-on-change branch August 20, 2017 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants