mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Configure shortcuts based on platform.
This commit is contained in:
parent
5ee8d22b23
commit
676272ccc0
@ -59,7 +59,7 @@ mindplot.widget.Menu = new Class({
|
||||
}
|
||||
};
|
||||
this._toolbarElems.push(new mindplot.widget.FontFamilyPanel("fontFamily", fontFamilyModel));
|
||||
this._registerTooltip('fontFamily', "Text type");
|
||||
this._registerTooltip('fontFamily', "Text font");
|
||||
|
||||
|
||||
var fontSizeModel = {
|
||||
@ -454,6 +454,7 @@ mindplot.widget.Menu = new Class({
|
||||
if ($(buttonId)) {
|
||||
var tooltip = text;
|
||||
if (shortcut) {
|
||||
shortcut = Browser.Platform.mac ? shortcut.replace("meta+", "⌘") : shortcut.replace("meta+", "ctrl");
|
||||
tooltip = tooltip + " (" + shortcut + ")";
|
||||
}
|
||||
new mindplot.widget.KeyboardShortcutTooltip($(buttonId), tooltip);
|
||||
|
@ -25,6 +25,8 @@ div#headerInfo {
|
||||
width: 100%;
|
||||
height: @header-info-height;
|
||||
color: white;
|
||||
padding: 0px 18px
|
||||
|
||||
}
|
||||
|
||||
div#headerActions {
|
||||
|
@ -10,6 +10,7 @@ div#toolbar {
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.47, rgb(229, 227, 209)), color-stop(0.87, rgb(252, 250, 237)));
|
||||
border-bottom: 3px double rgb(190, 190, 190);
|
||||
border-top: 1px solid rgb(190, 190, 190);
|
||||
padding: 0px 15px;
|
||||
}
|
||||
|
||||
div#toolbar .buttonContainer {
|
||||
|
@ -4,8 +4,7 @@
|
||||
<head>
|
||||
<base href="../">
|
||||
<title>WiseMapping - Editor </title>
|
||||
<meta http-equiv="Content-type" content="text/html; char
|
||||
set=UTF-8"/>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
|
Loading…
Reference in New Issue
Block a user