|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Tracks repeat-capable mutation keys whose down state persists across replay frames. More...
#include "donner/editor/repro/ReplayResourceBudget.h"
Public Member Functions | |
| std::size_t | advanceFrame (const ReproFrame &frame) |
Tracks repeat-capable mutation keys whose down state persists across replay frames.
ImGui owns held-key state after a key-down edge and can synthesize a repeated editing shortcut on a later frame even when that frame contains no input edge. Advance this state before estimating each frame, then charge the returned source-rewrite units through the normal input budget before dispatch. Modifier state comes from the recorded frame snapshot, matching ApplyInputOverride.