Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
KeyboardShortcutPolicy.h File Reference

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

bool donner::editor::CanDeleteSelectedElementsFromShortcut (bool deleteKey, bool hasSelection, bool anyPopupOpen, bool sourcePaneFocused)
 Canvas-level delete should fire whenever a selection exists, no modal is open, and the source pane is not actively focused. ImGuiIO::WantCaptureKeyboard is too broad because non-text UI panes also set it.