Fixed pin body widget hover bug
This commit is contained in:
@@ -6,10 +6,7 @@ using namespace Bloom::Widgets::InsightTargetWidgets;
|
||||
using namespace Bloom::Targets;
|
||||
|
||||
bool TargetPinBodyWidget::event(QEvent* event) {
|
||||
if (this->isEnabled()
|
||||
&& this->pinState.has_value()
|
||||
&& this->pinState->ioDirection == TargetPinState::IoDirection::OUTPUT
|
||||
) {
|
||||
if (this->pinState.has_value() && this->pinState->ioDirection == TargetPinState::IoDirection::OUTPUT) {
|
||||
switch (event->type()) {
|
||||
case QEvent::Enter: {
|
||||
this->hoverActive = true;
|
||||
|
||||
Reference in New Issue
Block a user