mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 19:29:04 -05:00
Cleanup lambda expressions and directly address Fadeable properties when adding properties
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user