Fixed directory triangle display, added menu divider.

This commit is contained in:
Thomas Wilburn 2013-11-06 09:55:11 -08:00
parent 23a5bf5c26
commit c0f37afd43
4 changed files with 7 additions and 3 deletions

View file

@ -59,6 +59,7 @@
{ "label": "Add Directory", "command": "project:add-dir" },
{ "label": "Remove All Directories", "command": "project:remove-all" },
{ "label": "Refresh Directory", "command": "project:refresh-dir" },
"divider",
{ "label": "Generate/Update Project File", "command": "project:generate" },
{ "label": "Open Project File", "command": "project:open" },
{ "label": "Clear Project", "command": "project:clear" }

View file

@ -35,13 +35,15 @@
position: relative;
&:after {
content: "";
content: "";
margin-left: 6px;
display: inline-block;
}
}
.expanded > .directory:after {
content: "▼";
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
}

View file

@ -36,6 +36,7 @@ define(["dom2"], function() {
var command = e.target.getAttribute("command");
var arg = e.target.getAttribute("argument");
fire(command, arg);
e.preventDefault();
}
});

View file

@ -1,7 +1,7 @@
{
"name": "Caret",
"description": "Professional text editing for Chrome and Chrome OS",
"version": "1.1.17",
"version": "1.1.19",
"manifest_version": 2,
"icons": {
"128": "icon-128.png"