mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -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++]);
|
count += getWidth(s[chars++]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count > truncateTo) {
|
if (count >= truncateTo) {
|
||||||
chars--;
|
chars--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user