From 8774a733022c997d74ab810b3ab66feb91eb888e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= Date: Fri, 3 Nov 2023 18:30:42 +0100 Subject: [PATCH] update comment --- src/Surface.zig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Surface.zig b/src/Surface.zig index 8c0641ade..476359dbe 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -2104,11 +2104,7 @@ fn dragLeftClickSingle( fn posToViewport(self: Surface, xpos: f64, ypos: f64) terminal.point.Viewport { // xpos/ypos need to be adjusted for window padding - // (i.e. "window-padding-*" settings. NOTE we don't adjust for - // "window-padding-balance" because we don't have access to the balance - // amount from the renderer. This is a bug but realistically balanced - // padding is so small it doesn't affect selection. This may not be true - // at large font sizes... + // (i.e. "window-padding-*" settings. const pad = if (self.config.window_padding_balance) renderer.Padding.balanced(self.screen_size, self.grid_size, self.cell_size) else