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:
Bruno Herbelin
2022-04-20 16:43:42 +02:00
parent d41a85f4a1
commit c8f8fcf9d3
9 changed files with 74 additions and 66 deletions

View File

@@ -21,7 +21,7 @@ public:
std::pair<Node *, glm::vec2> pick(glm::vec2) override;
Cursor grab (Source *s, glm::vec2 from, glm::vec2 to, std::pair<Node *, glm::vec2>) override;
void terminate() override;
void terminate(bool force) override;
Cursor over (glm::vec2) override;
void arrow (glm::vec2) override;