Merge pull request #3807 from swagger-api/swagger-ui/execute-animation-cpu-usage

Reduce high cpu/gpu usage of 'Execute' btn animation
This commit is contained in:
kyle
2017-11-03 16:15:48 -07:00
committed by GitHub

View File

@@ -65,6 +65,7 @@
&.execute &.execute
{ {
animation: swagger-ui-pulse 2s infinite; animation: swagger-ui-pulse 2s infinite;
will-change: transform;
background-color: $btn-execute-background-color; background-color: $btn-execute-background-color;
color: $btn-execute-font-color; color: $btn-execute-font-color;
border-color: $btn-execute-border-color; border-color: $btn-execute-border-color;