Skip to content

plugins/zoom: Simplify initial zoom initialization

Vlad Zahorodnii requested to merge work/zzag/zoom-designated-initializer into master

The initial zoom level can be read in the constructor instead of initializing m_sourceZoom to -1.

Also, setTargetZoom() is not necessary because zoomTo() is going to call it too.

Merge request reports

Loading