refactoring: Fix documentation generation, (auto)remove documentation of deleted themes

This commit is contained in:
Pieter Vander Vennet 2023-04-15 03:15:17 +02:00
parent 43aeb9d191
commit b0052d3a36
33 changed files with 1565 additions and 2903 deletions

View file

@ -36,20 +36,11 @@ export default class DefaultGUI {
}
private SetupUIElements() {
const guiState = this.guiState
const extraLink = Toggle.If(
state.featureSwitchExtraLinkEnabled,
() => new ExtraLinkButton(state, state.layoutToUse.extraLink)
)
new ScrollableFullScreen(
() => Translations.t.general.attribution.attributionTitle,
() => new CopyrightPanel(state),
"copyright",
guiState.copyrightViewIsOpened
)
new Combine([extraLink]).SetClass("flex flex-col").AttachTo("top-left")
new Combine([
@ -64,6 +55,7 @@ export default class DefaultGUI {
.SetClass("flex items-center justify-center normal-background h-full")
.AttachTo("on-small-screen")
const guiState = this.guiState
new LeftControls(state, guiState).AttachTo("bottom-left")
new RightControls(state, this.geolocationHandler).AttachTo("bottom-right")