Merge branch 'release/v2.5.0' of github.com:ONLYOFFICE/DocSpace-client into release/v2.5.0

This commit is contained in:
Elyor Djalilov 2024-04-05 14:48:42 +05:00
commit 00421cd763
2 changed files with 62 additions and 17 deletions

View File

@ -62,8 +62,8 @@ export default function withContent(WrappedContent) {
) => {
if (isContextClick) {
checked
? setBufferSelection(user, addToSelection)
: setBufferSelection(null);
? setBufferSelection(null)
: setBufferSelection(user, addToSelection);
return;
}

View File

@ -126,37 +126,82 @@ const Track = ({
<path
d="M 0,-100 A 100,100 0 0,1 86.6,-50"
stroke={`url(#spinner-color-${id}-1)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
<path
d="M 86.6,-50 A 100,100 0 0,1 86.6,50"
stroke={`url(#spinner-color-${id}-2)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
<path
d="M 86.6,50 A 100,100 0 0,1 0,100"
stroke={`url(#spinner-color-${id}-3)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
<path
d="M 0,100 A 100,100 0 0,1 -86.6,50"
stroke={`url(#spinner-color-${id}-4)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
<path
d="M -86.6,50 A 100,100 0 0,1 -86.6,-50"
stroke={`url(#spinner-color-${id}-5)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
<path
d="M -86.6,-50 A 100,100 0 0,1 0,-100"
stroke={`url(#spinner-color-${id}-6)`}
/>
>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</path>
</g>
<animateTransform
from="0 0 0"
to="360 0 0"
attributeName="transform"
type="rotate"
repeatCount="indefinite"
dur="1300ms"
/>
</StyledTrack>
);
};