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; left : 0;
overflow : hidden; overflow : hidden;
width : 50px; width : 50px;
user-select : none;
/* border-right : 1px solid var(--primary); */ /* border-right : 1px solid var(--primary); */
} }
.swappanel { .swappanel {

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

Loading…
Cancel
Save