forked from MapComplete/MapComplete
Refactoring: fix most of the custom input elements, support right click/long tap/double click to add a new element
This commit is contained in:
parent
b0052d3a36
commit
1123a72c5e
25 changed files with 390 additions and 531 deletions
|
@ -24,6 +24,8 @@ import TagRenderingQuestion from "./TagRenderingQuestion"
|
|||
import { OsmId, OsmTags } from "../../Models/OsmFeature"
|
||||
import { LoginToggle } from "./LoginButton"
|
||||
import { SpecialVisualizationState } from "../SpecialVisualization"
|
||||
import SvelteUIElement from "../Base/SvelteUIElement";
|
||||
import TagHint from "./TagHint.svelte";
|
||||
|
||||
export default class DeleteWizard extends Toggle {
|
||||
/**
|
||||
|
@ -225,11 +227,7 @@ export default class DeleteWizard extends Toggle {
|
|||
// This is a retagging, not a deletion of any kind
|
||||
return new Combine([
|
||||
t.explanations.retagNoOtherThemes,
|
||||
TagRenderingQuestion.CreateTagExplanation(
|
||||
new UIEventSource<TagsFilter>(retag),
|
||||
currentTags,
|
||||
state
|
||||
).SetClass("subtle"),
|
||||
new SvelteUIElement(TagHint, {osmConnection: state.osmConnection, tags: retag})
|
||||
])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue