CSS output without vars by default

This commit is contained in:
David Capello 2021-01-05 15:02:12 -03:00
parent b1016a419f
commit ee07df6a26
2 changed files with 3 additions and 2 deletions

View File

@ -347,7 +347,7 @@
<section id="css">
<option id="show_alert" type="bool" default="true" />
<option id="pixel_scale" type="int" default="1" />
<option id="with_vars" type="bool" default="true" />
<option id="with_vars" type="bool" default="false" />
<option id="generate_html" type="bool" default="false" />
</section>
<section id="webp">

View File

@ -34,7 +34,8 @@ class CssFormat : public FileFormat {
class CssOptions : public FormatOptions {
public:
CssOptions() : pixelScale(1), gutterSize(0),
generateHtml(false), withVars(true) { }
generateHtml(false),
withVars(false) { }
int pixelScale;
int gutterSize;
bool generateHtml;