File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed
Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,6 @@ protected internal async Task AddInfo(BcssInfo info)
8383 Clear ( info . Key ) ;
8484 }
8585 _bcssInfos . Add ( info ) ;
86- //_shouldRender = true;
87- //StateHasChanged();
88- //_shouldRender = false;
8986 Update ( ) ;
9087 return ;
9188 }
@@ -115,9 +112,6 @@ protected internal async Task AddInfo(BcssInfo info)
115112
116113 _bcssInfos . Add ( info ) ;
117114 }
118- //_shouldRender = true;
119- //StateHasChanged();
120- //_shouldRender = false;
121115 Update ( ) ;
122116 }
123117
Original file line number Diff line number Diff line change @@ -24,13 +24,6 @@ public void Attach(BlazorCssProvider provider)
2424 string [ ] values = value . Split ( ' ' ) ;
2525 foreach ( var val in values )
2626 {
27- List < string > prefixes = BlazorCssConverter . GetPrefixes ( val ) ;
28- if ( prefixes . Contains ( "c" ) )
29- {
30- decodedValue . Add ( val ) ;
31- continue ;
32- }
33-
3427 BcssInfo ? duplicatedInfo = Provider . CheckDuplicate ( val ) ;
3528 if ( duplicatedInfo != null )
3629 {
@@ -47,6 +40,13 @@ public void Attach(BlazorCssProvider provider)
4740 }
4841 }
4942
43+ List < string > prefixes = BlazorCssConverter . GetPrefixes ( val ) ;
44+ if ( prefixes . Contains ( "c" ) )
45+ {
46+ decodedValue . Add ( val ) ;
47+ continue ;
48+ }
49+
5050 string ? result = BlazorCssConverter . Convert ( val , Provider ) ;
5151 string key = Decode ( val ) ;
5252 BcssInfo info = new ( ) ;
You can’t perform that action at this time.
0 commit comments