mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
4.20.66
* Added: Option to only adjust the player volume by scrolling when holding the right-mouse button. (Closes #954) * API Added: Support for rendering badges with non-image content.
This commit is contained in:
parent
ccef06ef7b
commit
165e17c014
5 changed files with 139 additions and 41 deletions
10
src/i18n.js
10
src/i18n.js
|
@ -581,8 +581,14 @@ export class TranslationManager extends Module {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( typeof ast === 'object' && ast.v )
|
||||
out[ast.v] = shallow_copy(get(ast.v, options));
|
||||
if ( typeof ast === 'object' && ast.v ) {
|
||||
const val = get(ast.v, options);
|
||||
// Skip React objects.
|
||||
if ( val && val['$$typeof'] )
|
||||
return;
|
||||
|
||||
out[ast.v] = shallow_copy(val);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue