File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Intersect.Client.Framework/Gwen/Control Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -225,22 +225,22 @@ public override void LoadJson(JToken token, bool isRoot = default)
225225 }
226226 }
227227
228- if ( obj [ nameof ( HoverSound ) ] is JValue { Type : JTokenType . String } hoverSound &&
229- hoverSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } )
228+ if ( obj [ nameof ( HoverSound ) ] is JValue { Type : JTokenType . String } tokenHoverSound &&
229+ tokenHoverSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } hoverSound )
230230 {
231- HoverSound = hoverSound ? . Value < string > ( ) ;
231+ HoverSound = hoverSound ;
232232 }
233233
234- if ( obj [ nameof ( LeftMouseClickSound ) ] is JValue { Type : JTokenType . String } leftMouseClickSound &&
235- leftMouseClickSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } )
234+ if ( obj [ nameof ( LeftMouseClickSound ) ] is JValue { Type : JTokenType . String } tokenLeftMouseClickSound &&
235+ tokenLeftMouseClickSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } leftMouseClickSound )
236236 {
237- LeftMouseClickSound = leftMouseClickSound ? . Value < string > ( ) ;
237+ LeftMouseClickSound = leftMouseClickSound ;
238238 }
239239
240- if ( obj [ nameof ( RightMouseClickSound ) ] is JValue { Type : JTokenType . String } rightMouseClickSound &&
241- rightMouseClickSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } )
240+ if ( obj [ nameof ( RightMouseClickSound ) ] is JValue { Type : JTokenType . String } tokenRightMouseClickSound &&
241+ tokenRightMouseClickSound . Value < string > ( ) ? . Trim ( ) is { Length : > 0 } rightMouseClickSound )
242242 {
243- RightMouseClickSound = rightMouseClickSound ? . Value < string > ( ) ;
243+ RightMouseClickSound = rightMouseClickSound ;
244244 }
245245 }
246246
You can’t perform that action at this time.
0 commit comments