mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-19 09:45:36 -05:00
Fixes #135 - Full-width chars break gutter annotations (really)
This commit is contained in:
@@ -115,7 +115,7 @@ export namespace Strings {
|
||||
count += getWidth(s[chars++]);
|
||||
}
|
||||
|
||||
if (count > truncateTo) {
|
||||
if (count >= truncateTo) {
|
||||
chars--;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user