Skip to content

Commit

Permalink
optimize ide menu
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Jun 5, 2021
1 parent 23fcb20 commit 9c9a634
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anubias",
"version": "0.4.1",
"version": "0.5.0",
"private": false,
"description": "anubias desktop application",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions src/assets/js/winVars.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
window.ide = {
majorVersion: 0,
minorVersion: 4,
patchVersion: 1,
minorVersion: 5,
patchVersion: 0,
version:function () {
return this.majorVersion + '.' + this.minorVersion + '.' + this.patchVersion;
}
Expand Down
27 changes: 22 additions & 5 deletions src/components/elements/AppMenuElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<a @click="save">
<i class="fa fa-save"></i>
Save project

<span class="shortcut">
Ctrl+S
</span>
Expand All @@ -43,21 +42,39 @@
Project info
</router-link>
</li>
</ul>
<ul id="dropdown2" class="dropdown-content grey darken-3">
<li>
<a>
<i class="fa fa-bug"></i>
Debug
<span class="shortcut">
F9
</span>
</a>
</li>
<li>
<a>
<i class="fa fa-hammer"></i>
Build
<span class="shortcut">
Ctrl+F9
</span>
</a>
</li>
</ul>
<ul id="dropdown2" class="dropdown-content grey darken-3">
<!-- <li>-->
<!-- <a>-->
<!-- <i class="fa fa-bug"></i>-->
<!-- Debug-->
<!-- </a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a>-->
<!-- <i class="fa fa-hammer"></i>-->
<!-- Build-->
<!-- </a>-->
<!-- </li>-->
</ul>
<nav class="top-nav">
<div class="nav-wrapper grey darken-4">
<ul class="left">
Expand Down Expand Up @@ -215,8 +232,8 @@ nav .fa {
.shortcut {
float: right;
color: darkgray;
font-size: 90%;
padding-top: 3px;
font-size: 85%;
padding-top: 2px;
}

</style>

0 comments on commit 9c9a634

Please sign in to comment.