Skip to content

Hide UI when MapInteractionMode message is empty. - #7915

Open
na9da wants to merge 1 commit into
mainfrom
empty-message
Open

Hide UI when MapInteractionMode message is empty.#7915
na9da wants to merge 1 commit into
mainfrom
empty-message

Conversation

@na9da

@na9da na9da commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

What this PR does

Previously when MapInteractionMode message is empty, Terria shows a blank header with padding like below.

This PR fixes is it so that nothing is shown when message is empty. This useful when rendering some other UI using customUi, example to show an ActionBar instead of the regular MapInteractionMode UI.

Before:
image

Test me

Hard to provide a CI link as it requires a custom mode for testing.
Existing tools like Measurement tools that provide a message should still continue to work.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

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