Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Compatibility issue with Minimal UI #125

@yjeroen

Description

@yjeroen

Describe the bug
Minimal UI has the option to make the icons of the control sidebar smaller. Because combat-carousal uses nonconform HTML, this isn't working correctly.

To Reproduce
Enable both Minimal UI and combat-carousel.

image

<li class="scene-control " data-control="effects" data-canvas-layer="specials" title="Effect Controls">
            <i class="fas fa-magic"></i>
        </li>

<li class="scene-control" data-control="combat-carousel" title="Combat Carousel - click to toggle visibility, right-click to reset position">
    <img src="modules/combat-carousel/icons/empty-carousel-solid.svg" class="carousel-icon">
    <div class="wrapper">
        <i class="fas fa-caret-down collapse-indicator"></i>
    </div>
</li>

Normal HTML generated by Foundry API can be seen first. (example from FXMaster module)
Below that you can see the nonconform HTML generated by combat-carousal.

Expected behavior
Same API usage of adding control buttons as normal modules, so there is compatibility with Minimal UI and other modules that interact with the control sidebar.

Environment Info (please complete the following information):

  • Foundry Version: v9
  • CC Version: 0.2.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingexternalSomething external to the module (eg. core or another module)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions