Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GCorm authored and GCorm committed Apr 12, 2020
1 parent 4ec5314 commit d0a9c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/GRunView.mc
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ class GRunView extends WatchUi.DataField

// Header Text
var headerFgColor = primaryForegroundColor;
if ( (headerBgColor == Graphics.COLOR_RED) || (headerBgColor == Graphics.COLOR_DK_GREEN) ) { headerFgColor = Graphics.COLOR_WHITE; }
if ( (headerBgColor == Graphics.COLOR_RED) || (headerBgColor == Graphics.COLOR_DK_GREEN && !dynamicBackgroundColor) ) { headerFgColor = Graphics.COLOR_WHITE; }
dc.setColor(headerFgColor, Graphics.COLOR_TRANSPARENT);
dc.setClip(areaX + leftOffsetX, headerY, areaWidth - leftOffsetX - rightOffsetX, headerHeight);
dc.drawText(headerXcenter, headerYcenter, fontHeader, getHeaderName(type), Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);
Expand Down

0 comments on commit d0a9c15

Please sign in to comment.