Centralize retained drag capture release
This commit is contained in:
@@ -81,7 +81,7 @@ kEventResult NodeLayer::handle_event(Event* e)
|
||||
case kEventType::MouseUpL:
|
||||
if (on_highlight)
|
||||
on_highlight(this, false);
|
||||
mouse_release();
|
||||
pp::panopainter::release_legacy_mouse_capture(*this);
|
||||
break;
|
||||
default:
|
||||
return kEventResult::Available;
|
||||
|
||||
Reference in New Issue
Block a user