mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge branch 'FControlsFocusFIx' into 'master'
Allow keyboard focus to land on checkboxes and radio buttons. See merge request core-developers/forge!2985
This commit is contained in:
@@ -17,7 +17,6 @@ public class FCheckBox extends SkinnedCheckBox implements ICheckBox {
|
||||
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
||||
this.setFont(FSkin.getFont(14));
|
||||
this.setOpaque(false);
|
||||
this.setFocusable(false);
|
||||
}
|
||||
|
||||
public FCheckBox(final String s0, final boolean checked) {
|
||||
|
||||
@@ -26,6 +26,5 @@ public class FRadioButton extends SkinnedRadioButton {
|
||||
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
||||
this.setFont(FSkin.getFont(14));
|
||||
this.setOpaque(false);
|
||||
this.setFocusable(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user