Loading editor/widgets/container/container.cpp +8 −4 Original line number Diff line number Diff line Loading @@ -1277,10 +1277,14 @@ extern "C" { svg.setAttribute("style", "display: block; width: 100%; height: 100%;"); libhtmlpp::HtmlElement svgPath("path"); // "oval_inverted" is inverted by default; the checkbox then // toggles from there, so checking it on oval_inverted flips // back to the plain oval look instead of stacking. bool effectiveInvert = shapeDividerFlip != (shapeDividerType == "oval_inverted"); // "oval_inverted" is always inverted, independent of the // checkbox -- XOR-ing it in used to make checking "invert" // on oval_inverted jump to the unrelated plain-oval look, // which read as the checkbox doing the wrong thing. Now the // checkbox simply has no effect on this type (it's already // the inverted preset) and keeps its normal effect on the // other shapes. bool effectiveInvert = (shapeDividerType == "oval_inverted") || shapeDividerFlip; if (effectiveInvert) { // "Invert" swaps which side of the curve is filled // (convex bulge <-> concave notch) by adding a Loading Loading
editor/widgets/container/container.cpp +8 −4 Original line number Diff line number Diff line Loading @@ -1277,10 +1277,14 @@ extern "C" { svg.setAttribute("style", "display: block; width: 100%; height: 100%;"); libhtmlpp::HtmlElement svgPath("path"); // "oval_inverted" is inverted by default; the checkbox then // toggles from there, so checking it on oval_inverted flips // back to the plain oval look instead of stacking. bool effectiveInvert = shapeDividerFlip != (shapeDividerType == "oval_inverted"); // "oval_inverted" is always inverted, independent of the // checkbox -- XOR-ing it in used to make checking "invert" // on oval_inverted jump to the unrelated plain-oval look, // which read as the checkbox doing the wrong thing. Now the // checkbox simply has no effect on this type (it's already // the inverted preset) and keeps its normal effect on the // other shapes. bool effectiveInvert = (shapeDividerType == "oval_inverted") || shapeDividerFlip; if (effectiveInvert) { // "Invert" swaps which side of the curve is filled // (convex bulge <-> concave notch) by adding a Loading