ZAB909 / ChapterMaster

13 stars 21 forks source link

refactor: zoom and remove redundant was_zoomed #245

Closed jhillacre closed 8 months ago

jhillacre commented 8 months ago

Changes

  1. zoom logic was duplicated and is now centralized in src_zoom, for maintainability.
  2. refactor zoom logic to use else
  3. was_zoomed was removed after the above refactor, as it was then never read.
  4. replaced __view_set with the API view_set_visible for more direct view management.

The saves I made before removing was_zoomed still load after.

jhillacre commented 8 months ago

If someone who can merge would approve the approval, this PR is ready to merge.