fixed behaviour of home icon

pull/3094/head
LianaHus 6 years ago
parent 56533fb950
commit 22a7a49212
  1. 1
      src/app.js
  2. 4
      src/app/components/vertical-icons-component.js

@ -89,6 +89,7 @@ var css = csjs`
left : 0;
overflow : hidden;
width : 50px;
user-select : none;
/* border-right : 1px solid var(--primary); */
}
.swappanel {

@ -220,8 +220,7 @@ class VerticalIconComponent {
<div
class="${css.homeIcon}"
onclick="${(e) => {
this._iconClick(this.homeProfile.name)
globalRegistry.get('appManager').api.ensureActivated('home')
globalRegistry.get('appmanager').api.ensureActivated('home')
}}"
plugin="${this.homeProfile.name}" title="${this.homeProfile.displayName}"
>
@ -369,6 +368,7 @@ const css = csjs`
height: 42px;
margin-bottom: 20px;
margin-left: -5px;
cursor: pointer;
}
.homeIcon svg path {
fill: var(--primary);

Loading…
Cancel
Save