Merge pull request #2227 from Tyriar/2224_dom_cursor
Show text when cursor blinks in DOM renderer
This commit is contained in:
@@ -167,9 +167,14 @@ export class DomRenderer extends Disposable implements IRenderer {
|
|||||||
// Blink animation
|
// Blink animation
|
||||||
styles +=
|
styles +=
|
||||||
`@keyframes blink {` +
|
`@keyframes blink {` +
|
||||||
` 0% { opacity: 1.0; }` +
|
` 0% {` +
|
||||||
` 50% { opacity: 0.0; }` +
|
` background-color: ${this._colors.cursor.css};` +
|
||||||
` 100% { opacity: 1.0; }` +
|
` color: ${this._colors.cursorAccent.css};` +
|
||||||
|
` }` +
|
||||||
|
` 50% {` +
|
||||||
|
` background-color: ${this._colors.cursorAccent.css};` +
|
||||||
|
` color: ${this._colors.cursor.css};` +
|
||||||
|
` }` +
|
||||||
`}`;
|
`}`;
|
||||||
// Cursor
|
// Cursor
|
||||||
styles +=
|
styles +=
|
||||||
|
|||||||
Reference in New Issue
Block a user