Fixed directory triangle display, added menu divider.
This commit is contained in:
parent
23a5bf5c26
commit
c0f37afd43
4 changed files with 7 additions and 3 deletions
|
@ -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" }
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
|
@ -36,6 +36,7 @@ define(["dom2"], function() {
|
|||
var command = e.target.getAttribute("command");
|
||||
var arg = e.target.getAttribute("argument");
|
||||
fire(command, arg);
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue