mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Document: Round dimensions properly in getPageDimensions (#8170)
* Geom:transformByScale: * Apply the right scaling factor to the y axis * Round in a more sensible fashion (àla fz_round_rect, since we pretty much exclusively use it in a similar fashion). * Bump base (https://github.com/koreader/koreader-base/pull/1407)
This commit is contained in:
@@ -130,7 +130,7 @@ describe("ReaderLink module", function()
|
||||
x = 0, y = 694,
|
||||
h = 106, w = 566,
|
||||
},
|
||||
zoom = 0.9501187648456056456,
|
||||
zoom = 0.95032191328269044472,
|
||||
},
|
||||
{
|
||||
gamma = 1,
|
||||
@@ -145,7 +145,7 @@ describe("ReaderLink module", function()
|
||||
h = 686, w = 566,
|
||||
x = 0, y = 0,
|
||||
},
|
||||
zoom = 0.9501187648456056456,
|
||||
zoom = 0.95032191328269044472,
|
||||
},
|
||||
}
|
||||
-- disable footer
|
||||
|
||||
Reference in New Issue
Block a user