Skip to content

Commit

Permalink
Black BG; faster orientation change.
Browse files Browse the repository at this point in the history
  • Loading branch information
devand123 committed Jan 28, 2015
1 parent 11754ae commit d7a36d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ios/OpenTokPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ -(CDVPlugin*) initWithWebView:(UIWebView *)theWebView {

theWebView.backgroundColor = [UIColor clearColor];
[theWebView setOpaque:NO];
theWebView.superview.backgroundColor = [UIColor whiteColor];
theWebView.superview.backgroundColor = [UIColor blackColor];
[theWebView.superview setOpaque:NO];

self = (OpenTokPlugin*)[super initWithWebView:theWebView];

self.webView.superview.backgroundColor = [UIColor whiteColor];
self.webView.superview.backgroundColor = [UIColor blackColor];
[self.webView.superview setOpaque:NO];
self.webView.backgroundColor = [UIColor clearColor];
[self.webView setOpaque:NO];
Expand Down
2 changes: 1 addition & 1 deletion www/opentok.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ window.TB = OT;
window.addEventListener("orientationchange", (function() {
setTimeout((function() {
OT.updateViews();
}), 1000);
}), 0);
}), false);

var TBConnection;
Expand Down

0 comments on commit d7a36d1

Please sign in to comment.