mirror of https://github.com/espruino/BangleApps
gpstrek - Fix wrong color of map segments when drawing after widgets or compass
parent
ca4d1534eb
commit
f09aa53abd
|
@ -425,6 +425,7 @@ let getMapSlice = function(){
|
||||||
|
|
||||||
let drawChunk = function(data){
|
let drawChunk = function(data){
|
||||||
if (data.breakLoop) return;
|
if (data.breakLoop) return;
|
||||||
|
graphics.setColor(graphics.theme.fg);
|
||||||
graphics.setClipRect(x,y,x+width,y+height);
|
graphics.setClipRect(x,y,x+width,y+height);
|
||||||
let finish;
|
let finish;
|
||||||
let toDraw;
|
let toDraw;
|
||||||
|
|
Loading…
Reference in New Issue