Consistent layout for optional numpad

Modify the optional right hand numpad the same way as the numeric
layout.
This commit is contained in:
Jules Aguillon 2023-09-03 23:36:49 +02:00
parent 86038ef512
commit b079e5cf43
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ final class Config
}
});
if (show_numpad)
kw = kw.addNumPad();
kw = kw.addNumPad(modify_numpad(KeyboardData.num_pad));
if (number_row)
kw = kw.addNumberRow();
if (extra_keys.size() > 0)

View File

@ -54,7 +54,7 @@ class KeyboardData
return new KeyboardData(rows, keysWidth, modmap, script);
}
public KeyboardData addNumPad()
public KeyboardData addNumPad(KeyboardData num_pad)
{
ArrayList<Row> extendedRows = new ArrayList<Row>();
Iterator<Row> iterNumPadRows = num_pad.rows.iterator();