Permalink
Browse files

Fixed minor bug related to visibility of sections in SimpleSkin

  • Loading branch information...
1 parent 0b7cfcb commit c785d0727e3233f7c757dcd3988f7594bef9d933 @HanSolo committed Jan 7, 2017
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/main/java/eu/hansolo/medusa/Gauge.java
  2. +1 −0 src/main/java/eu/hansolo/medusa/GaugeBuilder.java
@@ -5310,6 +5310,7 @@ public void setSkinType(final SkinType SKIN_TYPE) {
setValueColor(Color.WHITE);
setTitleColor(Color.WHITE);
setSubTitleColor(Color.WHITE);
+ setSectionsVisible(true);
super.setSkin(new SimpleSkin(Gauge.this));
break;
case SLIM:
@@ -912,6 +912,7 @@ public final Gauge build() {
CONTROL.setValueColor(Color.WHITE);
CONTROL.setTitleColor(Color.WHITE);
CONTROL.setSubTitleColor(Color.WHITE);
+ CONTROL.setSectionsVisible(true);
break;
case SLIM :
CONTROL.setKnobPosition(Pos.CENTER);

0 comments on commit c785d07

Please sign in to comment.