Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construct RendererBase in RendererBarsFillH #601

Open
shfxia opened this issue Dec 5, 2024 · 0 comments
Open

Construct RendererBase in RendererBarsFillH #601

shfxia opened this issue Dec 5, 2024 · 0 comments

Comments

@shfxia
Copy link

shfxia commented Dec 5, 2024

Error calculating prims parameter when construct RendererBase in RendererBarsFillH

    RendererBarsFillH(const _Getter1& getter1, const _Getter2& getter2, ImU32 col, double height) :
        RendererBase(ImMin(getter1.Count, getter1.Count), 6, 4),
        Getter1(getter1),
        Getter2(getter2),
        Col(col),
        HalfHeight(height/2)
    {}

the prims parameter should be ImMin(getter1.Count, getter2.Count)

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

No branches or pull requests

1 participant