mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-08 04:20:14 -05:00
Cleanup lambda expressions and directly address Fadeable properties when adding properties
This commit is contained in:
@@ -65,7 +65,7 @@ LuaTranslation::LuaTranslation()
|
||||
{
|
||||
addProperty(_luaScriptFile);
|
||||
|
||||
_luaScriptFile.onChange([&]() {
|
||||
_luaScriptFile.onChange([this]() {
|
||||
requireUpdate();
|
||||
_fileHandle = std::make_unique<ghoul::filesystem::File>(_luaScriptFile.value());
|
||||
_fileHandle->setCallback([this]() {
|
||||
|
||||
Reference in New Issue
Block a user