mirror of https://github.com/Squidex/squidex.git
9 changed files with 30 additions and 28 deletions
@ -1,11 +1,10 @@ |
|||
<div class="cursors"> |
|||
<div *ngFor="let cursor of otherCursor | async; trackBy: trackByUser" class="cursor" |
|||
[style.left]="sizeInPx(cursor.cursor.x)" |
|||
[style.top]="sizeInPx(cursor.cursor.y)"> |
|||
<div class="user" [style.background]="cursor.user.id | sqxStringColor"> |
|||
{{cursor.user.displayName}} |
|||
</div> |
|||
|
|||
<i [style.color]="cursor.user.id | sqxStringColor" class="icon-mouse-pointer"></i> |
|||
<div *ngFor="let cursor of otherCursor | async; trackBy: trackByUser" class="cursor" |
|||
[style.left]="sizeInPx(cursor.cursor.x)" |
|||
[style.top]="sizeInPx(cursor.cursor.y)" |
|||
[class.hidden]="cursor.cursor.x < 0"> |
|||
<div class="user" [style.background]="cursor.user.id | sqxStringColor"> |
|||
{{cursor.user.displayName}} |
|||
</div> |
|||
|
|||
<i [style.color]="cursor.user.id | sqxStringColor" class="icon-mouse-pointer"></i> |
|||
</div> |
|||
Loading…
Reference in new issue