Skip to content

Start refactoring

Federico Mena Quintero requested to merge federico/loupe:refactor into main

All the fields in IvImageView were behind RefCell or Cell, and this makes the code really noisy. This MR removes interior mutability by extracting the mutable data to a separate struct. Later I will start decoupling that struct from the actual widgetry, so that the data model is separate from the widgets and can then be easily tested.

Edited by Federico Mena Quintero

Merge request reports