Skip to content

Commit 71a240d

Browse files
committed
Fixed a problem in which the drawing range of global grid was not set correctly. (#494)
1 parent ed7ec7e commit 71a240d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: editor/window.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ func (win *Window) updateGridContent(row, colStart int, cells []interface{}) {
12611261
}
12621262
}
12631263

1264-
if win.grid == 1 && win.s.name != "minimap" {
1264+
if win.grid == 1 && win.s.name == "minimap" {
12651265
return
12661266
}
12671267
if win.maxLenContent < win.lenContent[row] {

0 commit comments

Comments
 (0)