Add missing default value for custom parallax zoom property

The "Custom Zoom" property was not initialized when creating a new layer group, leading to the property editor not working correctly and an undefined value being saved to the map file.
This commit is contained in:
Robert Müller 2023-03-08 00:15:11 +01:00
parent b9486ac0af
commit 96ccfbb4c2

View file

@ -104,6 +104,7 @@ CLayerGroup::CLayerGroup()
m_OffsetY = 0;
m_ParallaxX = 100;
m_ParallaxY = 100;
m_CustomParallaxZoom = 0;
m_ParallaxZoom = 100;
m_UseClipping = 0;