We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6f44c commit 9494229Copy full SHA for 9494229
src/WinWebDiffLib/WebDiffWindow.hpp
@@ -100,7 +100,11 @@ class CWebDiffWindow : public IWebDiffWindow
100
WebDiffEvent ev;
101
ev.type = event;
102
ev.pane = i;
103
- if (event == WebDiffEvent::ZoomFactorChanged)
+ if (event == WebDiffEvent::SourceChanged)
104
+ {
105
+ m_webWindow[ev.pane].SetZoom(m_zoom);
106
+ }
107
+ else if (event == WebDiffEvent::ZoomFactorChanged)
108
{
109
m_zoom = m_webWindow[ev.pane].GetZoom();
110
for (int pane = 0; pane < m_nPanes; ++pane)
0 commit comments