File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
components/autonomousDialogList Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,8 @@ export class AutonomousDialogList extends AutonomousDialogListBase<Dialog> {
304304 const { canvas, startAnimation} = dom . callIcon = callIcon = groupCallActiveIcon ( listEl . classList . contains ( 'active' ) ) ;
305305 canvas . classList . add ( 'dialog-group-call-icon' ) ;
306306 listEl . append ( canvas ) ;
307+
308+ listEl . classList . add ( 'has-group-call-icon' ) ;
307309 startAnimation ( ) ;
308310 }
309311
@@ -319,6 +321,7 @@ export class AutonomousDialogList extends AutonomousDialogListBase<Dialog> {
319321 onTransitionEnd : visible ? undefined : ( ) => {
320322 dom . callIcon . canvas . remove ( ) ;
321323 dom . callIcon = undefined ;
324+ listEl . classList . remove ( 'has-group-call-icon' ) ;
322325 } ,
323326 useRafs : visible ? 2 : 0
324327 } ) ;
Original file line number Diff line number Diff line change @@ -280,12 +280,17 @@ ul.chatlist {
280280 }
281281 }
282282
283- & :has (.avatar-badge ) {
283+ & :has (.avatar-badge ), & .has-group-call-icon {
284284 .avatar-auto-delete-timer {
285285 transform : scale (0 );
286286 }
287287 }
288288
289+ & .has-group-call-icon {
290+ .avatar-badge {
291+ opacity : 0 ;
292+ }
293+ }
289294
290295 @include respond-to (not- handhelds) {
291296 & .active {
@@ -605,6 +610,10 @@ ul.chatlist {
605610 border : 2px solid var (--background , var (--surface-color ));
606611 pointer-events : none ;
607612 line-height : 23px !important ;
613+
614+ @include animation-level (2 ) {
615+ transition : opacity 0.2s ;
616+ }
608617 }
609618
610619 & -reaction {
You can’t perform that action at this time.
0 commit comments