forked from MapComplete/MapComplete
SimpleAddUi: scroll to top if a preset is chosen
This commit is contained in:
parent
77a19d33f8
commit
452bf39561
5 changed files with 40 additions and 17 deletions
|
@ -64,7 +64,7 @@ export default class ConfirmLocationOfPoint extends Combine {
|
|||
bounds: mapBounds
|
||||
})
|
||||
preciseInput.installBounds(preset.boundsFactor ?? 0.25, true)
|
||||
preciseInput.SetClass("h-32 rounded-xl overflow-hidden border border-gray").SetStyle("height: 12rem;")
|
||||
preciseInput.SetClass("h-40 rounded-xl overflow-hidden border border-gray").SetStyle("height: 12rem;")
|
||||
|
||||
|
||||
if (preset.preciseInput.snapToLayers && preset.preciseInput.snapToLayers.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue