mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 17:20:30 +02:00
Use localized background switching key shortcut in tooltip
This commit is contained in:
@@ -71,7 +71,7 @@ export function uiBackground(context) {
|
||||
.html(true)
|
||||
.title(function() {
|
||||
var tip = '<div>' + t('background.switch') + '</div>';
|
||||
return uiTooltipHtml(tip, uiCmd('⌘B'));
|
||||
return uiTooltipHtml(tip, uiCmd('⌘' + key));
|
||||
})
|
||||
);
|
||||
} else if (description || isOverflowing) {
|
||||
|
||||
Reference in New Issue
Block a user