oops - forgotten commit

pull/2297/head
Gordon Williams 2022-11-25 16:08:40 +00:00
parent 639d9b7dc5
commit e5894c36af
2 changed files with 3 additions and 2 deletions

View File

@ -14,3 +14,4 @@
0.13: Use a single image file with 'frames' of data (drastically reduces file count, possibility of >1 map on device)
0.14: Added ability to upload multiple sets of map tiles
Support for zooming in on map
Satellite count moved to widget bar to leave more room for the map

View File

@ -11,11 +11,11 @@ function redraw() {
m.draw();
drawMarker();
if (HASWIDGETS && WIDGETS["gpsrec"] && WIDGETS["gpsrec"].plotTrack) {
g.flip().setColor("#f00"); // force immediate draw on double-buffered screens - track will update later
g.setColor("#f00").flip(); // force immediate draw on double-buffered screens - track will update later
WIDGETS["gpsrec"].plotTrack(m);
}
if (HASWIDGETS && WIDGETS["recorder"] && WIDGETS["recorder"].plotTrack) {
g.flip().setColor("#f00"); // force immediate draw on double-buffered screens - track will update later
g.setColor("#f00").flip(); // force immediate draw on double-buffered screens - track will update later
WIDGETS["recorder"].plotTrack(m);
}
g.setClipRect(0,0,g.getWidth()-1,g.getHeight()-1);