Issue #109: Confirming Actions Prevents Context Hiding
Enthalpy
Branch: _Enthalpy_/aao-game-creation-engine:issue-109
Branch: AceAttorneyOnline/aao-game-creation-engine:develop
Merged
Merged pull request
Merged in _Enthalpy_/aao-game-creation-engine/issue-109 (pull request #39)
This commit fixes Issue #109, where confirming an action in the action editor would prevent changes to what actions should be context-hidden. Tested and working on my machine.
The .confirm() method of the actionEditor did not change specific attributes of the row, but set the row equal to a new object. This made the entry in the trial data refer to a different object than frame_data in populateFrameRow, which broke the check against frame_data for the frame's merge state.
The fix is simple - only change the attributes that need changing, which won't break any variable bindings.