summaryrefslogtreecommitdiff
path: root/src/layer.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-01-06 17:44:22 -0500
committerFox Caminiti <fox@foxcam.net>2023-01-06 17:44:22 -0500
commit84d04d391bc4bf9481106d4f5ac4d3dd8f27ed87 (patch)
treeba91aaf8a4245b939b4d04aca66cd0c5bb5687c0 /src/layer.cpp
parent1de48570b220acc1ca7063e2a9cda1e89178c0f9 (diff)
round edges
Diffstat (limited to 'src/layer.cpp')
-rw-r--r--src/layer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layer.cpp b/src/layer.cpp
index 7d40310..6159467 100644
--- a/src/layer.cpp
+++ b/src/layer.cpp
@@ -114,8 +114,6 @@ Layer_UpdateMasksEffects(project_state *State, block_layer *Layer, memory *Memor
v2 Min = {}, Max = {};
if (State->Interact_Active == interact_type_keyframe_move) {
NVG_FlattenPath(Memory, Shape, (nvg_point *)Data, State, T, 0, 0, Width, Height, 0, &Min, &Max);
- Shape->Width = Max.x - Min.x;
- Shape->Height = Max.y - Min.y;
}
uint32 NumberOfVerts = NVG_FlattenPath(Memory, Shape, (nvg_point *)Data,
State, T, Shape->Width, Shape->Height, Width, Height, 1, &Min, &Max);