fix a bug where the calendar background in item view would be 16px too short
This commit is contained in:
parent
f22dd81a7c
commit
de133158d6
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
||||||
date: new Date(0),
|
date: new Date(0),
|
||||||
events: result.data.items,
|
events: result.data.items,
|
||||||
// 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar
|
// 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],
|
range: [-5000, 5000],
|
||||||
showControls: ui.showCalendarControls,
|
showControls: ui.showCalendarControls,
|
||||||
showToolbar: true,
|
showToolbar: true,
|
||||||
|
|
Loading…
Reference in a new issue