Cleanup lambda expressions and directly address Fadeable properties when adding properties

This commit is contained in:
Alexander Bock
2023-04-12 23:20:53 +02:00
parent 19642e8120
commit 7565a91196
67 changed files with 229 additions and 212 deletions
+2 -2
View File
@@ -166,9 +166,9 @@ LabelsComponent::LabelsComponent(const ghoul::Dictionary& dictionary)
addProperty(_enabled);
_opacity = p.opacity.value_or(_opacity);
addProperty(_opacity);
addProperty(Fadeable::_opacity);
addProperty(_fade);
addProperty(Fadeable::_fade);
_color = p.color.value_or(_color);
_color.setViewOption(properties::Property::ViewOptions::Color);