Skip to main content

pan_key_held

Function pan_key_held 

Source
fn pan_key_held(ui: &Ui) -> bool
Expand description

Whether the key that turns a left-drag into a pan is held: space, the convention across drawing and diagram editors (Figma, Illustrator, Inkscape, Miro). A text editor owning the keyboard is typing, not panning.