mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 09:53:00 +01:00
Merge pull request #8512 from MiguelCastillo/fonts-cssclean
Removed font definitions from css since they are handled in the fonts ap...
This commit is contained in:
commit
612ff365bd
@ -144,9 +144,6 @@
|
||||
*/
|
||||
.code-font() {
|
||||
color: @content-color;
|
||||
font-size: 12px;
|
||||
line-height: 1.25;
|
||||
font-family: "SourceCodePro-Medium", "MS ゴシック", "MS Gothic", monospace;
|
||||
}
|
||||
|
||||
.code-font-win() {
|
||||
|
@ -322,7 +322,7 @@ define(function (require, exports, module) {
|
||||
return prefs.get("lineHeight");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Increases or decreases the editor's font size.
|
||||
@ -390,7 +390,7 @@ define(function (require, exports, module) {
|
||||
CommandManager.get(Commands.VIEW_RESTORE_FONT_SIZE).setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initializes the different settings that need to loaded
|
||||
*/
|
||||
@ -551,7 +551,7 @@ define(function (require, exports, module) {
|
||||
CommandManager.register(Strings.CMD_THEMES, Commands.CMD_THEMES_OPEN_SETTINGS, _handleThemeSettings);
|
||||
|
||||
PreferencesManager.convertPreferences(module, {"fontSizeAdjustment": "user"}, true, _convertToNewViewState);
|
||||
|
||||
|
||||
prefs.definePreference("fontSize", "string", DEFAULT_FONT_SIZE + "px");
|
||||
prefs.definePreference("lineHeight", "number", DEFAULT_LINE_HEIGHT);
|
||||
prefs.definePreference("fontFamily", "string", DEFAULT_FONT_FAMILY);
|
||||
@ -560,7 +560,7 @@ define(function (require, exports, module) {
|
||||
$(DocumentManager).on("currentDocumentChange", _updateUI);
|
||||
|
||||
// Update UI when Brackets finishes loading
|
||||
AppInit.appReady(_updateUI);
|
||||
AppInit.appReady(init);
|
||||
|
||||
exports.restoreFontSize = restoreFontSize;
|
||||
exports.restoreFonts = restoreFonts;
|
||||
|
Loading…
Reference in New Issue
Block a user