X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finsets%2FInsetGraphicsParams.cpp;h=13b57c07753ea97223a90a3ef55aeb7e78687d00;hb=148748b0c2f7d24471ee9beb54c4a6c6b3d20f31;hp=a8c2a26239994033f0036aac749edcb08e96a917;hpb=e6e30caca50bc476cf3976ecf3e84e694fc8fe60;p=lyx.git diff --git a/src/insets/InsetGraphicsParams.cpp b/src/insets/InsetGraphicsParams.cpp index a8c2a26239..13b57c0775 100644 --- a/src/insets/InsetGraphicsParams.cpp +++ b/src/insets/InsetGraphicsParams.cpp @@ -74,6 +74,7 @@ void InsetGraphicsParams::init() bbox = graphics::BoundingBox(); // bounding box clip = false; // clip image + darkModeSensitive = false; // dark mode dependency (InsetInfo) rotateAngle = "0"; // angle of rotation in degrees rotateOrigin.erase(); // Origin of rotation @@ -96,6 +97,7 @@ void InsetGraphicsParams::copy(InsetGraphicsParams const & params) bbox = params.bbox; clip = params.clip; + darkModeSensitive = params.darkModeSensitive; rotateAngle = params.rotateAngle; rotateOrigin = params.rotateOrigin; @@ -119,6 +121,7 @@ bool operator==(InsetGraphicsParams const & left, left.bbox == right.bbox && left.clip == right.clip && + left.darkModeSensitive == right.darkModeSensitive && left.rotateAngle == right.rotateAngle && left.rotateOrigin == right.rotateOrigin &&