cre: add Word Gap setting to bottom config panel (#4026)
Maps to crengine's Space Condensing feature (named Word Gap as a similar feature is named for PDF)
This commit is contained in:
1 parent
27dfa30181
commit
d29a65b96e
7 files changed
+45
-19
No files matched your search
@@ -17,8 +17,8 @@ describe("ReaderLink module", function()
|
||||
document = DocumentRegistry:openDocument(sample_epub),
|
||||
}
|
||||
readerui.rolling:onGotoPage(4)
|
||||
readerui.link:onTap(nil, {pos = {x = 336, y = 668}})
|
||||
assert.is.same(36, readerui.rolling.current_page)
|
||||
readerui.link:onTap(nil, {pos = {x = 306, y = 710}})
|
||||
assert.is.same(37, readerui.rolling.current_page)
|
||||
end)
|
||||
|
||||
it("should jump to links in pdf page mode", function()
|
||||
@@ -54,8 +54,8 @@ describe("ReaderLink module", function()
|
||||
document = DocumentRegistry:openDocument(sample_epub),
|
||||
}
|
||||
readerui.rolling:onGotoPage(4)
|
||||
readerui.link:onTap(nil, {pos = {x = 336, y = 668}})
|
||||
assert.is.same(36, readerui.rolling.current_page)
|
||||
readerui.link:onTap(nil, {pos = {x = 306, y = 710}})
|
||||
assert.is.same(37, readerui.rolling.current_page)
|
||||
readerui.link:onGoBackLink()
|
||||
assert.is.same(4, readerui.rolling.current_page)
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user