fix a bug where the calendar background in item view would be 16px too short

This commit is contained in:
rolux 2012-02-15 19:56:21 +00:00
parent f22dd81a7c
commit de133158d6

View file

@ -164,7 +164,8 @@ pandora.ui.navigationView = function(type, videoRatio) {
date: new Date(0),
events: result.data.items,
// 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar
height: window.innerHeight - ui.showFilters * ui.filtersSize - 61,
height: window.innerHeight - ui.showFilters * ui.filtersSize
- 45 - (ui.item ? 0 : 16),
range: [-5000, 5000],
showControls: ui.showCalendarControls,
showToolbar: true,