include brush setting in gizmo handle draw function

This commit is contained in:
itsmattkc
2022-01-24 14:51:12 -08:00
parent 7436c1e213
commit 1e7d5a1751
4 changed files with 3 additions and 7 deletions
@@ -473,9 +473,6 @@ void TransformDistortNode::DrawGizmos(const NodeValueRow &row, const NodeGlobals
anchor_pt.x(), anchor_pt.y() + anchor_pt_radius)});
// Draw scale handles
p->setPen(Qt::NoPen);
p->setBrush(Qt::white);
gizmo_resize_handle_[kGizmoScaleTopLeft] = CreateGizmoHandleRect(CreateScalePoint(-1, -1, sequence_half_res_pt, rectangle_matrix), resize_handle_rad);
gizmo_resize_handle_[kGizmoScaleTopCenter] = CreateGizmoHandleRect(CreateScalePoint( 0, -1, sequence_half_res_pt, rectangle_matrix), resize_handle_rad);
gizmo_resize_handle_[kGizmoScaleTopRight] = CreateGizmoHandleRect(CreateScalePoint( 1, -1, sequence_half_res_pt, rectangle_matrix), resize_handle_rad);