Skip to content

Map layers: Base solid fill color transparency is not applied if global transparency is set #1483

Description

@wilmaier

Package
@itwin/map-layers

Describe the bug
The transparency issue only occurs for solid fill color. If a base map layer is selected then the transparency slider is applied in addition to the global transparency.

To Reproduce

  1. Open an imodel where map layers can be enabled.
  2. Open map layers widget and enable using toggle
  3. Click on settings icon and set transparency to 50
  4. Select Solid Fill Color in base dropdown
  5. Set transparency slider to 20, 40, 60
  6. Note that no change is seen in the viewport background fill color transparency

Expected behavior
The solid fill color transparency should behave the same as for any of the base map layers where the transparency is applied in addition to the global transparency.

Screenshots
Global transparency set
Image
Solid Fill Color transparency not set
Image
Solid Fill Color transparency set
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions