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

Update battery icon drawing code #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update battery icon drawing code #18

wants to merge 2 commits into from

Conversation

NiVZ78
Copy link
Contributor

@NiVZ78 NiVZ78 commented Jul 15, 2018

Update battery icon drawing code:

  • Move left side of icon 1px to the right
  • Change fillRect to use (x, y, width, height) instead of previous (x1, y1, x2, y2) which was drawing lots of off-screen pixels.

NiVZ78 added 2 commits July 15, 2018 23:10
updating my openaps fork 2018-07-15
Move left side of battery icon 1px to the right.
Change fillRect to use (x, y, width, height) as it was using (x1, y1, x2, y2) and drawing lots of off screen pixels.
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

Successfully merging this pull request may close these issues.

1 participant