Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::repro::ReplayHeldMutationKeyState Class Reference

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)

Detailed Description

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.


The documentation for this class was generated from the following file: