Make updater can insert any processes before `CATransaction.commit`
ra1028 opened this issue · comments
Ryo Aoyama commented
Checklist
- Reviewed the README and documents.
- Searched existing issues for ensure not duplicated.
Description
Make updater can insert any processes before CATransaction.commit
by overriding update method in updater.
This allows user to insert a arbitrary process sequentially on the run loop.
Motivation and Context
Wants to adjust the content offset after updating for implement the comment UI.
Currently, runloop is divided by CATransaction, and the drawing glitches for a moment.
Proposed Solution
Split the code in a transaction into another method to make can be overridden.