mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Center pdf manual zoom mode (#10246)
Center PDF content when its width is smaller than the screen fix #9967
This commit is contained in:
@@ -124,7 +124,7 @@ describe("ReaderLink module", function()
|
||||
local expected_page_states = {
|
||||
{
|
||||
gamma = 1,
|
||||
offset = {x = 0, y = 0},
|
||||
offset = {x = 17, y = 0},
|
||||
page = 3,
|
||||
page_area = {
|
||||
x = 0, y = 0,
|
||||
@@ -139,7 +139,7 @@ describe("ReaderLink module", function()
|
||||
},
|
||||
{
|
||||
gamma = 1,
|
||||
offset = {x = 0, y = 0},
|
||||
offset = {x = 17, y = 0},
|
||||
page = 4,
|
||||
page_area = {
|
||||
h = 800, w = 566,
|
||||
|
||||
Reference in New Issue
Block a user