forked from 0x2620/pandora
honor ui preferences in events/places dialogs
This commit is contained in:
parent
f2e0c2c701
commit
01510f830b
4 changed files with 5 additions and 0 deletions
|
@ -616,6 +616,7 @@
|
|||
"section": "items",
|
||||
"showAnnotations": true,
|
||||
"showBrowser": true,
|
||||
"showCalendarControls": true, // fixme: should be false
|
||||
"showControls": true,
|
||||
"showFlags": true,
|
||||
"showGroups": true,
|
||||
|
|
|
@ -89,6 +89,7 @@ pandora.ui.eventsDialog = function() {
|
|||
callback(result);
|
||||
});
|
||||
},
|
||||
showControls: pandora.user.ui.showCalendarControls,
|
||||
width: width
|
||||
})
|
||||
});
|
||||
|
|
|
@ -206,6 +206,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
|||
// 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar
|
||||
height: window.innerHeight - ui.showGroups * ui.groupsSize - 61,
|
||||
range: [-5000, 5000],
|
||||
showControls: ui.showCalendarControls,
|
||||
width: window.innerWidth - ui.showSidebar * ui.sidebarSize - listSize - 2,
|
||||
zoom: 4
|
||||
})
|
||||
|
|
|
@ -42,6 +42,8 @@ pandora.ui.placesDialog = function() {
|
|||
callback(result);
|
||||
});
|
||||
},
|
||||
showControls: pandora.user.ui.showMapControls,
|
||||
showLabels: pandora.user.ui.showMapLabels,
|
||||
showTypes: true,
|
||||
width: width
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue