forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
df13901f18
16 changed files with 98 additions and 184 deletions
|
@ -2,7 +2,6 @@ import { VariableUiElement } from "./VariableUIElement"
|
|||
import Locale from "../i18n/Locale"
|
||||
import Link from "./Link"
|
||||
import Svg from "../../Svg"
|
||||
import show = Mocha.reporters.Base.cursor.show
|
||||
|
||||
/**
|
||||
* The little 'translate'-icon next to every icon + some static helper functions
|
||||
|
|
|
@ -41,7 +41,6 @@ export class ActionButtons extends Combine {
|
|||
readonly currentBounds: Store<BBox>
|
||||
readonly locationControl: Store<Loc>
|
||||
readonly osmConnection: OsmConnection
|
||||
readonly isTranslator: Store<boolean>
|
||||
readonly featureSwitchMoreQuests: Store<boolean>
|
||||
}) {
|
||||
const imgSize = "h-6 w-6"
|
||||
|
|
|
@ -118,7 +118,6 @@ export default class CopyrightPanel extends Combine {
|
|||
currentBounds: Store<BBox>
|
||||
locationControl: UIEventSource<Loc>
|
||||
osmConnection: OsmConnection
|
||||
isTranslator: Store<boolean>
|
||||
}) {
|
||||
const t = Translations.t.general.attribution
|
||||
const layoutToUse = state.layoutToUse
|
||||
|
|
|
@ -24,7 +24,6 @@ export default class ThemeIntroductionPanel extends Combine {
|
|||
osmConnection: OsmConnection
|
||||
currentBounds: Store<BBox>
|
||||
locationControl: UIEventSource<Loc>
|
||||
isTranslator: Store<boolean>
|
||||
},
|
||||
guistate?: { userInfoIsOpened: UIEventSource<boolean> }
|
||||
) {
|
||||
|
|
|
@ -74,7 +74,7 @@ class SingleUserSettingsPanel extends EditableTagRendering {
|
|||
if (kv.k.startsWith("_")) {
|
||||
continue
|
||||
}
|
||||
osmConnection.GetPreference(kv.k, "", {prefix: ""}).setData(kv.v)
|
||||
osmConnection.GetPreference(kv.k, "", { prefix: "" }).setData(kv.v)
|
||||
}
|
||||
|
||||
editMode.setData(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue