mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
a few more black_hexes and white_hexes
This commit is contained in:
@@ -19,6 +19,8 @@ local function copyPageState(page_state)
|
||||
zoom = page_state.zoom,
|
||||
rotation = page_state.rotation,
|
||||
gamma = page_state.gamma,
|
||||
black_hex = page_state.black_hex,
|
||||
white_hex = page_state.white_hex,
|
||||
offset = page_state.offset:copy(),
|
||||
visible_area = page_state.visible_area:copy(),
|
||||
page_area = page_state.page_area:copy(),
|
||||
@@ -739,6 +741,8 @@ function ReaderPaging:getNextPageState(blank_area, image_offset)
|
||||
zoom = self.view.state.zoom,
|
||||
rotation = self.view.state.rotation,
|
||||
gamma = self.view.state.gamma,
|
||||
black_hex = self.view.state.black_hex,
|
||||
white_hex = self.view.state.white_hex,
|
||||
offset = page_offset,
|
||||
visible_area = visible_area,
|
||||
page_area = page_area,
|
||||
@@ -766,6 +770,8 @@ function ReaderPaging:getPrevPageState(blank_area, image_offset)
|
||||
zoom = self.view.state.zoom,
|
||||
rotation = self.view.state.rotation,
|
||||
gamma = self.view.state.gamma,
|
||||
black_hex = self.view.state.black_hex,
|
||||
white_hex = self.view.state.white_hex,
|
||||
offset = page_offset,
|
||||
visible_area = visible_area,
|
||||
page_area = page_area,
|
||||
|
||||
Reference in New Issue
Block a user