From 159e08349b97f9ad52d3837a46b0eb685fe53bb8 Mon Sep 17 00:00:00 2001 From: Andreas Stassivik Date: Fri, 22 Nov 2024 14:33:39 -0800 Subject: [PATCH] nest `UpdateControlAnchorTitleOptions` properties implementation: - map.control.anchor - map.fullscreen --- src/leaf/map/fullscreen/control/anchor/update-title.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/leaf/map/fullscreen/control/anchor/update-title.ts b/src/leaf/map/fullscreen/control/anchor/update-title.ts index 54b3355..9839c84 100644 --- a/src/leaf/map/fullscreen/control/anchor/update-title.ts +++ b/src/leaf/map/fullscreen/control/anchor/update-title.ts @@ -9,8 +9,10 @@ export type UpdateControlAnchorTitleAnchorOptions = { } export type UpdateControlAnchorTitleOptions = { - anchor: UpdateControlAnchorTitleAnchorOptions - fullscreen: { state: { get: SwitchGet } } + map: { + control: { anchor: UpdateControlAnchorTitleAnchorOptions } + fullscreen: { state: { get: SwitchGet } } + } } export function updateControlAnchorTitle({