Skip to content

Commit 53ca59e

Browse files
authored
Merge pull request #3807 from swagger-api/swagger-ui/execute-animation-cpu-usage
Reduce high cpu/gpu usage of 'Execute' btn animation
2 parents 5ec2d8d + c312322 commit 53ca59e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/style/_buttons.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
&.execute
6666
{
6767
animation: swagger-ui-pulse 2s infinite;
68+
will-change: transform;
6869
background-color: $btn-execute-background-color;
6970
color: $btn-execute-font-color;
7071
border-color: $btn-execute-border-color;

0 commit comments

Comments
 (0)