bugfix: handle drawings when updating screen top
This commit is contained in:
parent
9ac68d710b
commit
d14e03d706
1
text.lua
1
text.lua
|
@ -922,6 +922,7 @@ end
|
||||||
|
|
||||||
function Text.populate_screen_line_starting_pos(State, line_index)
|
function Text.populate_screen_line_starting_pos(State, line_index)
|
||||||
local line = State.lines[line_index]
|
local line = State.lines[line_index]
|
||||||
|
if line.mode ~= 'text' then return end
|
||||||
local line_cache = State.line_cache[line_index]
|
local line_cache = State.line_cache[line_index]
|
||||||
if line_cache.screen_line_starting_pos then
|
if line_cache.screen_line_starting_pos then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue