handle window resize when in timelines view
This commit is contained in:
parent
fd116dbb70
commit
43b11a4fe7
1 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,9 @@ Ox.load({
|
||||||
pandora.$ui.info.resizeInfo();
|
pandora.$ui.info.resizeInfo();
|
||||||
if (!pandora.user.ui.item) {
|
if (!pandora.user.ui.item) {
|
||||||
pandora.resizeGroups(pandora.$ui.rightPanel.width());
|
pandora.resizeGroups(pandora.$ui.rightPanel.width());
|
||||||
if (pandora.user.ui.listView == 'map') {
|
if (pandora.user.ui.listView == 'timelines') {
|
||||||
|
pandora.$ui.list.options({width: window.innerWidth - pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1});
|
||||||
|
} else if (pandora.user.ui.listView == 'map') {
|
||||||
pandora.$ui.map.resizeMap();
|
pandora.$ui.map.resizeMap();
|
||||||
} else if (pandora.user.ui.listView == 'calendar') {
|
} else if (pandora.user.ui.listView == 'calendar') {
|
||||||
pandora.$ui.calendar.resizeCalendar();
|
pandora.$ui.calendar.resizeCalendar();
|
||||||
|
|
Loading…
Reference in a new issue