* [TD]add legacy/new svg scaling pref * [TD]Change Svg scaling logic (fix 14400)
This commit is contained in:
@@ -676,3 +676,9 @@ bool Preferences::switchOnClick()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("SwitchToWB", true);
|
||||
}
|
||||
|
||||
//! if true, svg symbols will use the old scaling logic.
|
||||
bool Preferences::useLegacySvgScaling()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("LegacySvgScaling", false);
|
||||
}
|
||||
|
||||
@@ -157,6 +157,8 @@ public:
|
||||
static bool checkShapesBeforeUse();
|
||||
static bool debugBadShape();
|
||||
|
||||
static bool useLegacySvgScaling();
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user