Skip to content

ADFA-4884: fix inverted delete-list toggle (mirror the tool's real st… - #267

Merged
luisguzman-adfa merged 1 commit into
mainfrom
fix/ADFA-4884-delete-toggle
Jul 28, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
fix/ADFA-4884-delete-toggle

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

…ate)

The list toggled from a parallel deleteToolOn boolean that desynced from the map's trash tool, so it showed when the tool was OFF and hid when ON (yellow) — inverted. Read the tool's REAL state after each trash click from the map cursor (crosshair = active) and open/ close from that (onDeleteToolState(on)); no flip-based boolean to invert. The delete MutationObserver is gated on the same real state.

…ate)

The list toggled from a parallel deleteToolOn boolean that desynced from the map's trash
tool, so it showed when the tool was OFF and hid when ON (yellow) — inverted. Read the
tool's REAL state after each trash click from the map cursor (crosshair = active) and open/
close from that (onDeleteToolState(on)); no flip-based boolean to invert. The delete
MutationObserver is gated on the same real state.
@luisguzman-adfa
luisguzman-adfa merged commit 08aa3ba into main Jul 28, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/ADFA-4884-delete-toggle branch July 28, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant