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:
Jules Aguillon 2024-10-27 11:04:05 +01:00
parent 73742a853f
commit 3c30e8248e

View File

@ -301,10 +301,10 @@ public final class Config
});
if (show_numpad)
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)
kw = kw.addExtraKeys(extra_keys.entrySet().iterator());
if (added_number_row != null)
kw = kw.insert_row(added_number_row, 0);
return kw;
}