We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0bfc2 commit 3835b05Copy full SHA for 3835b05
src/vs/workbench/contrib/debug/browser/disassemblyView.ts
@@ -210,7 +210,7 @@ export class DisassemblyView extends EditorPane {
210
if (thisOM.isSourceCodeRender && row.showSourceLocation && row.instruction.location?.path && row.instruction.line) {
211
// instruction line + source lines
212
if (row.instruction.endLine) {
213
- return lineHeight * (row.instruction.endLine - row.instruction.line + 2);
+ return lineHeight * Math.max(2, (row.instruction.endLine - row.instruction.line + 2));
214
} else {
215
// source is only a single line.
216
return lineHeight * 2;
0 commit comments