mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 11:47:41 -05:00
Refactor
* Minor style changes * Move function definitions * Split utility.hpp * Enable include of export-symbol-helper.hpp in tests
This commit is contained in:
committed by
WarmUpTill
parent
dcba7c535d
commit
01cf000cbe
@@ -68,6 +68,7 @@ static void modifyNumValue(Variable &var, double val, const bool increment)
|
||||
if (!current.has_value()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (increment) {
|
||||
var.SetValue(*current + val);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user