chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bee8d
)
Fix rendering glitch when ExtensibleIndicator vanishes.
author
Simon Tatham
<anakin@pobox.com>
Fri, 5 Jan 2024 06:29:57 +0000
(06:29 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Fri, 5 Jan 2024 06:30:38 +0000
(06:30 +0000)
We'd end up drawing three fewer lines of the top of the revised file
than would have fitted on the screen.
src/file.rs
patch
|
blob
|
history
diff --git
a/src/file.rs
b/src/file.rs
index d664605a0f71668cb060d1116430d3d512fd0c2c..f0beffa6b26105b9bc55bcfd28ef354f43cc9e72 100644
(file)
--- a/
src/file.rs
+++ b/
src/file.rs
@@
-537,6
+537,7
@@
impl<Type: FileType, Source: FileDataSource> File<Type, Source> {
}
self.contents.update_items(client);
+ self.fix_overshoot_at_top(); // in case the extender vanished
Ok(())
}
Err(e) => Err(e),