update tree rowheights to match css

# Conflicts:
#	plugins/c9.ide.scm/detail.js
#	plugins/c9.ide.scm/log.js
#	plugins/c9.ide.scm/scm.js
pull/134/merge
nightwing 2015-08-28 01:00:38 +04:00
rodzic 8f366a8539
commit 9c91ae4a8c
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -93,7 +93,7 @@
"c9.ide.mount": "#816dbe987b", "c9.ide.mount": "#816dbe987b",
"c9.ide.navigate": "#6a1c2e253c", "c9.ide.navigate": "#6a1c2e253c",
"c9.ide.newresource": "#f1f0624768", "c9.ide.newresource": "#f1f0624768",
"c9.ide.openfiles": "#28a4f5af16", "c9.ide.openfiles": "#7fa4a97fed",
"c9.ide.preview": "#c530a7978d", "c9.ide.preview": "#c530a7978d",
"c9.ide.preview.browser": "#c50007ebbc", "c9.ide.preview.browser": "#c50007ebbc",
"c9.ide.preview.markdown": "#ab8d30ad9f", "c9.ide.preview.markdown": "#ab8d30ad9f",

Wyświetl plik

@ -141,7 +141,7 @@ define(function(require, module, exports) {
var height = parseInt(ui.getStyleRule(".filetree .tree-row", "height"), 10); var height = parseInt(ui.getStyleRule(".filetree .tree-row", "height"), 10);
model.rowHeightInner = height; model.rowHeightInner = height;
model.rowHeight = height + 1; model.rowHeight = height;
model.indent = 12; model.indent = 12;
model.getIconHTML = getIconHTML; model.getIconHTML = getIconHTML;

Wyświetl plik

@ -204,7 +204,7 @@
font-variant: small-caps; font-variant: small-caps;
font-size: 16px; font-size: 16px;
margin-top: 0px; margin-top: 0px;
margin-bottom: 3px; margin-bottom: 0px;
color: @tree-heading-color; color: @tree-heading-color;
text-shadow: @tree-heading-text-shadow; text-shadow: @tree-heading-text-shadow;
line-height: 0; line-height: 0;

Wyświetl plik

@ -212,7 +212,7 @@ define(function(require, exports, module) {
layout.on("eachTheme", function(e){ layout.on("eachTheme", function(e){
var height = parseInt(ui.getStyleRule(".filetree .tree-row", "height"), 10) || 22; var height = parseInt(ui.getStyleRule(".filetree .tree-row", "height"), 10) || 22;
fsCache.model.rowHeightInner = height; fsCache.model.rowHeightInner = height;
fsCache.model.rowHeight = height + 1; fsCache.model.rowHeight = height;
if (e.changed && tree) (tree).resize(true); if (e.changed && tree) (tree).resize(true);
}); });