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

View File

@@ -81,7 +81,7 @@ RenderableConstellationBounds::RenderableConstellationBounds(
// Avoid reading files here, instead do it in multithreaded initialize()
_vertexFilename = absPath(p.file.string()).string();
_vertexFilename.onChange([&](){ loadData(); });
_vertexFilename.onChange([this](){ loadData(); });
addProperty(_vertexFilename);
_color.setViewOption(properties::Property::ViewOptions::Color);