# Refactor ability visual state and widget rendering · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/684e12639b1b66485c7d6d03f4c59925dc371b49)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 684e12639b1b66485c7d6d03f4c59925dc371b49

Requested commit: 684e12639b1b66485c7d6d03f4c59925dc371b49

Commit: 684e12639b1b66485c7d6d03f4c59925dc371b49

Tree: dc70b634f457ab7bcd77c9f05e6971be53303706

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Refactor ability visual state and widget rendering

- Updated CircleAbility and SectorCircleAbility to replace outlineColor with rangeOutlineColor, and introduced innerRangeColor and innerRangeSize for enhanced visual representation.
- Modified AbilityVisualState to include showRangeOutline, showRangeFill, showInnerOutline, and showInnerFill properties for better control over ability visibility.
- Adjusted rendering logic in CustomCircleWidget, SectorCircleWidget, and related widgets to utilize new visual state properties, ensuring accurate display of range and inner elements.
- Enhanced context menu options to toggle visibility for range and inner elements, improving user interaction with ability settings.
- Updated tests to reflect changes in ability visibility logic and ensure correct rendering behavior.

```

## Parents

- [b361025982a639ba45a9f1988dc79e54b07d0215](https://git.cafe/dara/icarus/commit/b361025982a639ba45a9f1988dc79e54b07d0215?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/684e12639b1b66485c7d6d03f4c59925dc371b49?format=markdown)
