MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / on_tab_out

Method on_tab_out

src/DrawingProgram/DrawingProgram.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void DrawingProgram::on_tab_out() {
72 tempMoveToolSwitch = TemporaryMoveToolSwitch::NONE;
73 selection.deselect_all();
74 controls.leftClickHeld = false;
75 controls.middleClickHeld = false;
76}
77
78void DrawingProgram::input_paste_callback(const CustomEvents::PasteEvent& paste) {
79 if(paste.type == CustomEvents::PasteEvent::DataType::IMAGE)

Callers

nothing calls this directly

Calls 1

deselect_allMethod · 0.45

Tested by

no test coverage detected