private static getFillOpacity()

in src/behavior.ts [29:33]


    private static getFillOpacity(selected: boolean, highlight: boolean, hasSelection: boolean, hasPartialHighlights: boolean): number {
        if ((hasPartialHighlights && !highlight) || (hasSelection && !selected))
            return BulletWebBehavior.DimmedOpacity;
        return BulletWebBehavior.DefaultOpacity;
    }