mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
26 lines
908 B
JavaScript
26 lines
908 B
JavaScript
|
|
import { t } from '../../core/localizer';
|
|
import { uiPane } from '../pane';
|
|
|
|
import { uiSectionBackgroundDisplayOptions } from '../sections/background_display_options';
|
|
import { uiSectionBackgroundList } from '../sections/background_list';
|
|
import { uiSectionBackgroundOffset } from '../sections/background_offset';
|
|
import { uiSectionOverlayList } from '../sections/overlay_list';
|
|
|
|
export function uiPaneBackground(context) {
|
|
|
|
var backgroundPane = uiPane('background', context)
|
|
.key(t('background.key'))
|
|
.label(t.append('background.title'))
|
|
.description(t.append('background.description'))
|
|
.iconName('iD-icon-layers')
|
|
.sections([
|
|
uiSectionBackgroundList(context),
|
|
uiSectionOverlayList(context),
|
|
uiSectionBackgroundDisplayOptions(context),
|
|
uiSectionBackgroundOffset(context)
|
|
]);
|
|
|
|
return backgroundPane;
|
|
}
|