Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor GPU: Double rendering after undo #237583

Open
Tyriar opened this issue Jan 9, 2025 · 0 comments
Open

Editor GPU: Double rendering after undo #237583

Tyriar opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-gpu Editor GPU rendering related issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Jan 9, 2025

Repro:

  1. Enable editor gpu rendering, reload window
  2. Go to this line in vscode:
    export function asArray<T>(x: T | T[]): T[];
    export function asArray<T>(x: T | readonly T[]): readonly T[];
    export function asArray<T>(x: T | T[]): T[] {
    return Array.isArray(x) ? x : [x];
    }
  3. Delete that function
  4. Undo, 🐛 bad render

Image

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug editor-gpu Editor GPU rendering related issues labels Jan 9, 2025
@Tyriar Tyriar added this to the January 2025 milestone Jan 9, 2025
@Tyriar Tyriar self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug editor-gpu Editor GPU rendering related issues
Projects
Status: No status
Development

No branches or pull requests

1 participant