mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 14:04:49 -05:00
remove console log
This commit is contained in:
@@ -80,8 +80,6 @@ export interface ILayoutAnchor {
|
||||
export function layout(viewportSize: number, viewSize: number, anchor: ILayoutAnchor): number {
|
||||
const anchorEnd = anchor.offset + anchor.size;
|
||||
|
||||
console.log(`viewport: ${viewportSize}, view: ${viewSize}`);
|
||||
|
||||
if (anchor.position === LayoutAnchorPosition.Before) {
|
||||
if (viewSize <= viewportSize - anchorEnd) {
|
||||
return anchorEnd; // happy case, lay it out after the anchor
|
||||
|
||||
Reference in New Issue
Block a user