UI : Add Keyboard shortcuts on tools tooltips

This commit is contained in:
jdescottes 2014-03-04 23:47:56 +01:00
parent a430d72415
commit ab401d3013

View File

@ -127,7 +127,7 @@
}
return '<li rel="tooltip" data-placement="right" class="' + classList.join(' ') + '" data-tool-id="' + instance.toolId +
'" title="' + instance.helpText + '"></li>';
'" title="' + instance.helpText + ' (' + tool.shortcut + ')"></li>';
};
ns.ToolController.prototype.addKeyboardShortcuts_ = function () {