diff --git a/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/CheckBox.java b/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/CheckBox.java index c7079bdbe74..c819b1c0788 100644 --- a/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/CheckBox.java +++ b/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/CheckBox.java @@ -106,13 +106,12 @@ public CheckBoxStyle (Drawable checkboxOff, Drawable checkboxOn, BitmapFont font } public CheckBoxStyle (CheckBoxStyle style) { + super(style); this.checkboxOff = style.checkboxOff; this.checkboxOn = style.checkboxOn; this.checkboxOver = style.checkboxOver; this.checkboxOffDisabled = style.checkboxOffDisabled; this.checkboxOnDisabled = style.checkboxOnDisabled; - this.font = style.font; - this.fontColor = new Color(style.fontColor); } } }