Skip to content

Commit

Permalink
fixes #210254 (#235603)
Browse files Browse the repository at this point in the history
* fixes #213148

* fixes #210254
  • Loading branch information
jrieken authored Dec 9, 2024
1 parent 0e9de87 commit d66eb6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vs/base/common/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ export function fuzzyScore(pattern: string, patternLow: string, patternStart: nu
}

let diagScore = 0;
if (score !== Number.MAX_SAFE_INTEGER) {
if (score !== Number.MIN_SAFE_INTEGER) {
canComeDiag = true;
diagScore = score + _table[row - 1][column - 1];
}
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/suggest/browser/suggestWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ export class SuggestWidget implements IDisposable {
typicalHalfwidthCharacterWidth: fontInfo.typicalHalfwidthCharacterWidth,
verticalPadding: 22,
horizontalPadding: 14,
defaultSize: new dom.Dimension(430, statusBarHeight + 12 * itemHeight + borderHeight)
defaultSize: new dom.Dimension(430, statusBarHeight + 12 * itemHeight)
};
}

Expand Down

0 comments on commit d66eb6b

Please sign in to comment.