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.
2 parents 2eedb48 + 6787ffb commit c0e2b55Copy full SHA for c0e2b55
lib/minimap.js
@@ -647,7 +647,8 @@ export default class Minimap {
647
* @returns {number} The height of the minimap
648
*/
649
getHeight() {
650
- return this.textEditor.getScreenLineCount() * this.getLineHeight()
+ const additionalHeight = this.scrollPastEnd ? this.textEditor.getRowsPerPage() : 0
651
+ return (this.textEditor.getScreenLineCount() + additionalHeight) * this.getLineHeight()
652
}
653
654
/**
0 commit comments