mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix not applying class names to local co-op icon
This commit is contained in:
parent
90f89a0244
commit
68b29ecb50
@ -235,13 +235,13 @@ export const BxExposed = {
|
|||||||
localCoOpManager: LocalCoOpManager.getInstance(),
|
localCoOpManager: LocalCoOpManager.getInstance(),
|
||||||
reactCreateElement: function(...args: any[]) {},
|
reactCreateElement: function(...args: any[]) {},
|
||||||
|
|
||||||
createReactLocalCoOpIcon: isFullVersion() ? (): any => {
|
createReactLocalCoOpIcon: isFullVersion() ? (attrs: any): any => {
|
||||||
const reactCE = window.BX_EXPOSED.reactCreateElement;
|
const reactCE = window.BX_EXPOSED.reactCreateElement;
|
||||||
|
|
||||||
// local-co-op.svg
|
// local-co-op.svg
|
||||||
return reactCE(
|
return reactCE(
|
||||||
'svg',
|
'svg',
|
||||||
{ xmlns: 'http://www.w3.org/2000/svg', width: '1em', height: '1em', viewBox: '0 0 32 32', 'fill-rule': 'evenodd', 'stroke-linecap': 'round', 'stroke-linejoin': 'round' },
|
{ xmlns: 'http://www.w3.org/2000/svg', width: '1em', height: '1em', viewBox: '0 0 32 32', 'fill-rule': 'evenodd', 'stroke-linecap': 'round', 'stroke-linejoin': 'round', ...attrs },
|
||||||
reactCE(
|
reactCE(
|
||||||
'g',
|
'g',
|
||||||
null,
|
null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user