Skip to content

Commit

Permalink
check the bounds...
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Oct 25, 2020
1 parent 3e74dfd commit 48ec668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Views/Editor.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ type Editor() as this =
hl_attrs.bold
// in each line we do backward rendering.
// the benefit is that the italic fonts won't be covered by later drawings
for x = xN - 1 downto x0 do
for x = xN - 2 downto x0 do
let current = grid_vm.[y, x]
let mytext = current.text
// !NOTE text shaping is slow. We only use shaping for
Expand Down

0 comments on commit 48ec668

Please sign in to comment.