fixed behaviour of home icon

pull/1/head
LianaHus 6 years ago
parent c08fde079a
commit c4f07f0a1d
  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