fix: only animate keyboard separator when splitting (#696)

This commit is contained in:
Róbert Kiss
2018-06-24 23:06:33 +02:00
committed by László Monda
parent 114014fa13
commit a208a264c7
3 changed files with 14 additions and 31 deletions
@@ -17,7 +17,7 @@
(keyHover)="onKeyHover($event.index, $event.event, $event.over, i)"
(capture)="onCapture(i, $event.index, $event.captured)" />
<svg:path [ngClass]="{'separator-visible': !halvesSplit, 'separator-hide': halvesSplit}"
<svg:path [@fadeSeparator]="separatorAnimation"
[attr.d]="separator.d"
[attr.style]="separatorStyle" />
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB