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

2DGEQ: Getting same sized bar width on 32x32 display #3752

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianschroeter
Copy link

before a x=32 (n times of 16) had not equal sized bars, but first was a single pixel and later a bar had 3 pixel width. This solves it to have always 2 pixel sized bars.

I have to admit that I did not test with other pixel dimensions.

before a x=32 (n times of 16) had not equal sized bars, but first was
a single pixel and later a bar had 3 pixel width. This solves it to
have always 2 pixel sized bars.

I have to admit that I did not test with other pixel dimensions.
@blazoncek
Copy link
Collaborator

It is easy to test, just resize segment.

@blazoncek blazoncek added effect waiting for feedback addition information needed to better understand the issue labels Mar 17, 2024
@softhack007
Copy link
Collaborator

I have to admit that I did not test with other pixel dimensions.

PR looks reasonable, however I'm currently "away from WLED" (holidays) and cannot test.

@adrianschroeter please test with segments of different width, and inform us about results. At least the following should be tested:

  • width=2
  • width=8
  • width=15
  • width=16
  • width=17
  • width=23
  • width=24
  • width=32

Also please try a few different numbers of bars (slider), in addition to the standard of 16 bars.

@blazoncek
Copy link
Collaborator

@adrianschroeter are you willing to pursue this PR further? If so, please rebase it for 0_15 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effect waiting for feedback addition information needed to better understand the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants