diff options
Diffstat (limited to 'src/layer.cpp')
-rw-r--r-- | src/layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layer.cpp b/src/layer.cpp index f1ce0f4..41b52cc 100644 --- a/src/layer.cpp +++ b/src/layer.cpp @@ -166,7 +166,7 @@ Layer_ToggleChannel(project_data *File, memory *Memory, int32 a) while (Block_Loop(Memory, F_Layers, File->Layer_Count, &h, &c, &i)) { block_layer *Layer = (block_layer *)Memory_Block_AddressAtIndex(Memory, F_Layers, i); - if (Layer->IsSelected) + if (Layer->IsSelected == 1) Layer->Property[a].IsToggled ^= 1; } } |