Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #31856 from aosmond/bug1194476
Browse files Browse the repository at this point in the history
Bug 1194476 - Leave camera background as black instead of transparent… r=jdarcangelo
  • Loading branch information
BavarianTomcat committed Sep 18, 2015
2 parents 93bc4fb + 6b8ca9e commit dcf00cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions apps/camera/js/views/viewfinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ module.exports = View.extend({
debug('fade-out');
var self = this;
this.hide();
document.body.classList.remove('no-background');
clearTimeout(this.fadeTimeout);
this.fadeTimeout = setTimeout(function() {
self.emit('fadedout');
Expand All @@ -172,7 +171,6 @@ module.exports = View.extend({
this.show();
clearTimeout(this.fadeTimeout);
this.fadeTimeout = setTimeout(function() {
document.body.classList.add('no-background');
self.el.style.transitionDuration = '';
self.emit('fadedin');
if (done) { done(); }
Expand Down
4 changes: 0 additions & 4 deletions apps/camera/style/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ body {
-moz-user-select: none; /* 1 */
}

body.no-background {
background-color: transparent;
}

/** Mini reset
---------------------------------------------------------*/

Expand Down

0 comments on commit dcf00cb

Please sign in to comment.