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

Fixing incorrect background color #185984

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

aiday-mar
Copy link
Contributor

@aiday-mar aiday-mar commented Jun 23, 2023

Fixes #185970

The error was happening because we were using the getWidget strategy from Live strategy which calculated the widget line number as 5 despite the widget appearing at the end of the selection when inline diff is toggled on. The subsequent check for if the widget is within the zone would then not be correct.

Screenshot 2023-06-23 at 12 33 22

The fix here is to render at the end of the activeSession.wholeRange

@aiday-mar aiday-mar self-assigned this Jun 23, 2023
@aiday-mar aiday-mar requested a review from jrieken June 23, 2023 12:21
@aiday-mar aiday-mar marked this pull request as ready for review June 23, 2023 12:21
Copy link
Member

@jrieken jrieken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@VSCodeTriageBot VSCodeTriageBot added this to the June 2023 milestone Jun 23, 2023
@aiday-mar aiday-mar enabled auto-merge June 23, 2023 12:23
@aiday-mar aiday-mar merged commit 49b8e2d into main Jun 23, 2023
7 checks passed
@aiday-mar aiday-mar deleted the aiday/overridingPositionForLivePreview branch June 23, 2023 12:27
@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inline chat background color is wrong
3 participants