ElyTable: the sheet's size follows every scale change; its end stays reachable after a zoom (T-05)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 18:11:39 -04:00
1 parent 201aa4fc5a
commit 7a12a28b67
15 files changed
+294 -25

No files matched your search

+3 -4
View File
@@ -111,10 +111,9 @@ impl LokView {
if self.fit {
return self.doc_size;
}
self.tile_of((
self.doc_size.0.max(self.reach.0),
self.doc_size.1.max(self.reach.1),
))
// The kernel sizes a sheet in tile twips already.
let reach = self.tile_of(self.reach);
(self.doc_size.0.max(reach.0), self.doc_size.1.max(reach.1))
}
/// The print-twips document point under a view position (LOK-04).