core: layout: set the spacebar text as whitespace
If the key value can emit text, it should put the text to be emitted in the text field. It should not put any special symbol for the key label, and it should instead be a special case in the display_label() method.
This commit is contained in:
parent
db2a8cdeab
commit
399ab9deba
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ const KEYSYMS: [(&str, Keysym, &str); 20] = [
|
||||||
("loc alt", Keysym::Alt_L, "Alt"),
|
("loc alt", Keysym::Alt_L, "Alt"),
|
||||||
("right", Keysym::Right, "→"),
|
("right", Keysym::Right, "→"),
|
||||||
("shift", Keysym::Shift_L, "⇧"),
|
("shift", Keysym::Shift_L, "⇧"),
|
||||||
("space", Keysym::space, "␣"),
|
("space", Keysym::space, " "),
|
||||||
("tab", Keysym::Tab, "⭾"),
|
("tab", Keysym::Tab, "⭾"),
|
||||||
("up", Keysym::Up, "↑"),
|
("up", Keysym::Up, "↑"),
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue