mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
BugFix: prevent View Terminate if not previously Initiated
Ensures Action::Manager stores terminated actions only if previously initiated (caused iterative action storing on keyboard repeat).
This commit is contained in:
@@ -1005,9 +1005,9 @@ View::Cursor GeometryView::grab (Source *s, glm::vec2 from, glm::vec2 to, std::p
|
||||
return ret;
|
||||
}
|
||||
|
||||
void GeometryView::terminate()
|
||||
void GeometryView::terminate(bool force)
|
||||
{
|
||||
View::terminate();
|
||||
View::terminate(force);
|
||||
|
||||
// hide all view overlays
|
||||
overlay_position_->visible_ = false;
|
||||
|
||||
Reference in New Issue
Block a user