Skip to content

Draw top row - #546

Closed
dannyleech wants to merge 4 commits into
mainfrom
draw-top-row
Closed

dannyleech wants to merge 4 commits into
mainfrom
draw-top-row

Conversation

@dannyleech

Copy link
Copy Markdown
Contributor

No description provided.

In any draw or edit mode the draw plugin claims exclusive control, and
draw.scss hides everything else in the top row except map styles and map
controls (in whichever top-row slot they're in). The rule has zero
specificity so hosts can bring items back with a simple override, and a
new exclusiveControl: false option opts out entirely.

The Draw/Edit actions menu is replaced by Undo (icon), Snap (labelled
toggle, with a visible pressed state) and Delete point (icon) in the
top-middle slot.

Removes draw.scss's action bar width rules, which conflicted with core's
action button sizing and made Cancel and Done overlap. The draw demos now
link their own stylesheet: they were linking index.css, so none of
draw.scss had been loading, which is why that conflict went unnoticed.
@sonarqubecloud

Copy link
Copy Markdown

@dannyleech dannyleech closed this Sep 29, 2026
@dannyleech
dannyleech deleted the draw-top-row branch September 29, 2026 15:42
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