Skip to content

Commit

Permalink
Do not update color on settings change in HardModeView
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed May 24, 2020
1 parent 0d301b5 commit 9b92c9e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public HardModeView(Resources res) {
mPaintTextValue.setTypeface(Settings.typeface);
mPaintTextValue.setTextAlign(Paint.Align.CENTER);
mPaintTextValue.setTextSize(Dimensions.interfaceFontSize * 1.4f);
mPaintTextValue.setColor(Colors.getHardModeButtonsColor());

float width = Dimensions.surfaceWidth * .75f;
float margin = (Dimensions.surfaceWidth - width) / 2;
Expand Down Expand Up @@ -76,7 +75,6 @@ public void draw(Canvas canvas, long elapsedTime) {

@Override
public void update() {
mPaintTextValue.setColor(Colors.getOverlayTextColor());
mPaintTextValue.setAntiAlias(Settings.antiAlias);
updateButtons();
}
Expand Down

0 comments on commit 9b92c9e

Please sign in to comment.