[TD]add preference re alpha/transparency conversion

This commit is contained in:
wandererfan
2025-11-23 17:58:31 -05:00
parent 50969c3364
commit 03e9e29459
2 changed files with 9 additions and 0 deletions

View File

@@ -719,3 +719,10 @@ bool Preferences::printCenterMarks()
{
return getPreferenceGroup("Decorations")->GetBool("PrintCenterMarks", false);
}
//! true if old style transparency values should be converted to new style alpha values for color properties.
bool Preferences::fixColorAlphaOnLoad()
{
return getPreferenceGroup("General")->GetBool("FixColorAlphaOnLoad", true);
}