a few more black_hexes and white_hexes

This commit is contained in:
keringo
2025-06-26 00:24:27 +03:00
parent 39f3e410bd
commit b2e1bbf8c3
4 changed files with 20 additions and 6 deletions

View File

@@ -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,