Skip to content

Commit c2b8f58

Browse files
committed
Rename 'proportion' to 'fraction'
1 parent 87d402e commit c2b8f58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/io/github/yawnoc/strokeinput/Keyboard.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class Keyboard {
4444

4545
private static final float KEYBOARD_HEIGHT_MAX_FRACTION = 0.5f;
4646

47-
private static final float DEFAULT_KEY_WIDTH_PROPORTION = 0.1f;
47+
private static final float DEFAULT_KEY_WIDTH_FRACTION = 0.1f;
4848
private static final int DEFAULT_KEY_HEIGHT_DP = 64;
4949
private final int defaultKeyHeightPx;
5050

@@ -249,7 +249,7 @@ private void parseKeyboardAttributes(
249249
attributesArray,
250250
R.styleable.Keyboard_keyWidth,
251251
screenWidth,
252-
(int) (DEFAULT_KEY_WIDTH_PROPORTION * screenWidth)
252+
(int) (DEFAULT_KEY_WIDTH_FRACTION * screenWidth)
253253
);
254254
keyHeight =
255255
Valuey.getDimensionOrFraction(

0 commit comments

Comments
 (0)