Fix fusion Scalar click cause viewer double click bug.

This commit is contained in:
Krad
2022-08-11 14:11:43 +08:00
parent 0fae57ea62
commit a9e637a037

View File

@@ -94,8 +94,10 @@ void ActorDraggableInteractorStyle::OnLeftButtonDown() {
} }
return; return;
} }
this->InvokeEvent(DraggableStyleEvents::DoubleClickEvent, nullptr); if (!scalarProp){
return; this->InvokeEvent(DraggableStyleEvents::DoubleClickEvent, nullptr);
return;
}
} }
if (measure) { if (measure) {
measure->SetPlacing(measure->onMeasureLeftButtonDown(this->Interactor)); measure->SetPlacing(measure->onMeasureLeftButtonDown(this->Interactor));