Increase hight of confirm location, fix #877
This commit is contained in:
parent
2e5a3ba643
commit
e3b9bf2434
2 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@ import FilteredLayer from "../../Models/FilteredLayer";
|
||||||
import {TagUtils} from "../../Logic/Tags/TagUtils";
|
import {TagUtils} from "../../Logic/Tags/TagUtils";
|
||||||
import Svg from "../../Svg";
|
import Svg from "../../Svg";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The icon with the 'plus'-sign and the preset icons spinning
|
||||||
|
*
|
||||||
|
*/
|
||||||
export default class AddNewMarker extends Combine {
|
export default class AddNewMarker extends Combine {
|
||||||
|
|
||||||
constructor(filteredLayers: UIEventSource<FilteredLayer[]>) {
|
constructor(filteredLayers: UIEventSource<FilteredLayer[]>) {
|
||||||
|
|
|
@ -69,7 +69,7 @@ export default class ConfirmLocationOfPoint extends Combine {
|
||||||
bounds: mapBounds
|
bounds: mapBounds
|
||||||
})
|
})
|
||||||
preciseInput.installBounds(preset.boundsFactor ?? 0.25, true)
|
preciseInput.installBounds(preset.boundsFactor ?? 0.25, true)
|
||||||
preciseInput.SetClass("h-40 rounded-xl overflow-hidden border border-gray").SetStyle("height: 12rem;")
|
preciseInput.SetClass("rounded-xl overflow-hidden border border-gray").SetStyle("height: 18rem; max-height: 50vh")
|
||||||
|
|
||||||
|
|
||||||
if (preset.preciseInput.snapToLayers && preset.preciseInput.snapToLayers.length > 0) {
|
if (preset.preciseInput.snapToLayers && preset.preciseInput.snapToLayers.length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue