File tree 4 files changed +18
-2
lines changed
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ export function Icon(props: React.PropsWithChildren<IIconProps>) {
15
15
className = { classNames (
16
16
className ,
17
17
'codicon' ,
18
- prefixClaName ( type , 'codicon' )
18
+ type . includes ( '~spin' ) && 'codicon-spin' ,
19
+ prefixClaName ( type . split ( '~spin' ) [ 0 ] , 'codicon' )
19
20
) }
20
21
{ ...restProps }
21
22
>
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ export const ExtendsFolderTree: IExtension = {
48
48
id : `${ file . id } ` ?. split ( '_' ) ?. [ 0 ] ,
49
49
modified : false ,
50
50
data : {
51
- ...( file . data || { } ) ,
52
51
value : file . content ,
53
52
path : file . location ,
54
53
language : extName ,
54
+ ...( file . data || { } ) ,
55
55
} ,
56
56
} ;
57
57
Original file line number Diff line number Diff line change 11
11
.fade-in {
12
12
animation : fadeIn 0.083s linear ;
13
13
}
14
+
15
+ @keyframes fa-spin {
16
+ 0% {
17
+ transform : rotate (0deg );
18
+ }
19
+
20
+ 100% {
21
+ transform : rotate (359deg );
22
+ }
23
+ }
24
+
25
+ .codicon-spin {
26
+ animation : fa- spin 2s infinite linear ;
27
+ }
Original file line number Diff line number Diff line change 49
49
& --disabled {
50
50
cursor : default ;
51
51
opacity : 0.4 ;
52
+ pointer-events : none ;
52
53
}
53
54
}
54
55
}
You can’t perform that action at this time.
0 commit comments