feat: implement replay system with action dispatchers and context switching between main and playback modes
This commit is contained in:
@@ -220,10 +220,7 @@ export function initSelect(
|
||||
hasMenuItems = true;
|
||||
}
|
||||
|
||||
if (
|
||||
selectedCount === 1 &&
|
||||
onReplayEdit
|
||||
) {
|
||||
if (onReplayEdit) {
|
||||
const featureId = clickedFeature.id ?? clickedFeature.properties?.id;
|
||||
if (featureId) {
|
||||
menu.appendChild(createItem("Replay Edit", () => onReplayEdit(featureId)));
|
||||
|
||||
Reference in New Issue
Block a user