Centralize retained drag capture release

This commit is contained in:
2026-06-12 16:09:19 +02:00
parent 22748d9967
commit 9ac2c541dc
8 changed files with 31 additions and 16 deletions

View File

@@ -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;