[TD]Symbol scaling (fix #14400) (#18757)

* [TD]add legacy/new svg scaling pref

* [TD]Change Svg scaling logic (fix 14400)
This commit is contained in:
WandererFan
2025-01-06 12:02:37 -05:00
committed by GitHub
parent 71f115fa31
commit cfa4021cfc
4 changed files with 86 additions and 14 deletions

View File

@@ -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);
}