-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
use terminal font for terminal suggest #239543
base: main
Are you sure you want to change the base?
Conversation
src/vs/workbench/services/suggest/browser/simpleSuggestWidget.ts
Outdated
Show resolved
Hide resolved
if (lineHeight <= 1) { | ||
// Scale so icon shows by default | ||
lineHeight = fontSize < 16 ? Math.ceil(fontSize * 1.5) : fontSize; | ||
} else if (lineHeight <= 8) { | ||
lineHeight = fontSize * lineHeight; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this how the editor was scaling line height? We want large fontSizes to look the same in editor and terminal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, line height looks a little different. i'll have to see what they do
Pull request was converted to draft
fix #239095
to do: test font family