Merge pull request #2039 from roottool/refacter-the-css-code-of-cursor-blink

Refactored the CSS code of cursor blink
This commit is contained in:
Daniel Imms
2019-05-03 12:59:04 -07:00
committed by GitHub
+2 -2
View File
@@ -174,9 +174,9 @@ export class DomRenderer extends Disposable implements IRenderer {
// Blink animation // Blink animation
styles += styles +=
`@keyframes blink {` + `@keyframes blink {` +
` 0 % { opacity: 1.0; }` + ` 0% { opacity: 1.0; }` +
` 50% { opacity: 0.0; }` + ` 50% { opacity: 0.0; }` +
` 100 % { opacity: 1.0; }` + ` 100% { opacity: 1.0; }` +
`}`; `}`;
// Cursor // Cursor
styles += styles +=