Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
hebinzin committed May 16, 2023
2 parents da02707 + 45f28c9 commit 8f94294
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ At the repository's root, there's also other relevant items:
- `screenshots/`, a directory with some screenshots of the app.
- `weight-scale.png`, the app icon in full sized png (as created by [Flat-icons-com]), which can be converted (check the [Espruino Image Converter]) and uploaded to the device.

![Heft Log icon](weight-scale.png)
<img src="weight-scale.png" width="48" />


## Usage
Expand All @@ -32,11 +32,11 @@ At the repository's root, there's also other relevant items:

## Screenshots

![1st launch screen](screnshots/0.png)
![Insert height screen](screnshots/1.png)
![Main menu](screnshots/2.png)
![Main menu (cont.)](screnshots/3.png)
![Weight screen](screnshots/4.png)
![1st launch screen](screenshots/0.png)
![Insert height screen](screenshots/1.png)
![Main menu](screenshots/2.png)
![Main menu (cont.)](screenshots/3.png)
![Weight screen](screenshots/4.png)
![Scrollable log](screenshots/5.png)
![Weight line chart](screenshots/6.png)

Expand Down
4 changes: 2 additions & 2 deletions src/heftlog.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ function loadGraph(L, height){
.drawString(top, R.w / 2, gap / 2 + offset)
.drawString(bottom, R.w / 2, R.h - (gap / 2) + offset)
.setFont('6x8').setFontAlign(0, 0, 90)
.drawString(formatDt(L[0].date, '/'), 4, R.h / 2 + offset)
.drawString(formatDt(L[L.length-1].date, '/'), R.w - 4, R.h / 2 + offset);
.drawString(formatDt(L[L.length-1].date, '/'), 4, R.h / 2 + offset)
.drawString(formatDt(L[0].date, '/'), R.w - 4, R.h / 2 + offset);

// Enables returning with the back widget or button press
Bangle.setUI({
Expand Down

0 comments on commit 8f94294

Please sign in to comment.