mirror of https://github.com/espruino/BangleApps
BugFix: Marioclock drawPoly (used to draw pyramids) update to stop pyramids appearing to float above ground
parent
a04b1298f8
commit
c67d76612b
|
@ -10,3 +10,4 @@
|
|||
0.10: Swiping left to enable night-mode now also reduces LCD brightness through 3 levels before returning to day-mode.
|
||||
0.11: User settings persisted and read to file.
|
||||
0.12: Add info banner message when phone (dis)connects. Display low-battery warning (<=10%)
|
||||
0.13: Fix drawPyramid function so pyramids are drawn in correct Y position
|
|
@ -225,7 +225,7 @@ function drawFloor() {
|
|||
}
|
||||
|
||||
function drawPyramid() {
|
||||
const pPol = [pyramidSprite.x + 10, H - 6, pyramidSprite.x + 50, pyramidSprite.height, pyramidSprite.x + 90, H - 6]; // Pyramid poly
|
||||
const pPol = [pyramidSprite.x + 10, H - 5, pyramidSprite.x + 50, pyramidSprite.height, pyramidSprite.x + 90, H - 5]; // Pyramid poly
|
||||
|
||||
const color = (nightMode) ? DARK : LIGHT;
|
||||
g.setColor(color);
|
||||
|
|
Loading…
Reference in New Issue