cosmetic changes

This commit is contained in:
rlx 2013-07-14 10:22:26 +00:00
parent fd7352edac
commit 667d22efa4

View file

@ -370,19 +370,19 @@ Ox.VideoPanel = function(options, self) {
} }
function getPlayerHeight() { function getPlayerHeight() {
return self.options.height - return self.options.height
self.options.showTimeline * 80 - 1; - self.options.showTimeline * 80 - 1;
} }
function getPlayerWidth() { function getPlayerWidth() {
return self.options.width - return self.options.width
(self.options.showAnnotations && !self.fullscreen) - (self.options.showAnnotations && !self.fullscreen)
* self.options.annotationsSize - 1; * self.options.annotationsSize - 1;
} }
function getTimelineWidth() { function getTimelineWidth() {
return self.options.width - return self.options.width
(self.options.showAnnotations && !self.fullscreen) - (self.options.showAnnotations && !self.fullscreen)
* self.options.annotationsSize - 16 - 1; * self.options.annotationsSize - 16 - 1;
} }