mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-28 18:23:16 +01:00
Stable extra keys position when number row is added
Add the extra keys to the keyboard before the number row is added, as that interferes with the "preferred pos" system.
This commit is contained in:
parent
73742a853f
commit
3c30e8248e
@ -301,10 +301,10 @@ public final class Config
|
|||||||
});
|
});
|
||||||
if (show_numpad)
|
if (show_numpad)
|
||||||
kw = kw.addNumPad(modify_numpad(num_pad, kw));
|
kw = kw.addNumPad(modify_numpad(num_pad, kw));
|
||||||
if (added_number_row != null)
|
|
||||||
kw = kw.insert_row(added_number_row, 0);
|
|
||||||
if (extra_keys.size() > 0)
|
if (extra_keys.size() > 0)
|
||||||
kw = kw.addExtraKeys(extra_keys.entrySet().iterator());
|
kw = kw.addExtraKeys(extra_keys.entrySet().iterator());
|
||||||
|
if (added_number_row != null)
|
||||||
|
kw = kw.insert_row(added_number_row, 0);
|
||||||
return kw;
|
return kw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user