| 135 | } |
| 136 | |
| 137 | void TextBoxTool::commit() { |
| 138 | if(objInfoBeingEdited) { |
| 139 | NetworkingObjects::NetObjOwnerPtr<CanvasComponentContainer>& containerPtr = objInfoBeingEdited->obj; |
| 140 | make_sure_textbox_is_big(); |
| 141 | containerPtr->commit_update(drawP); |
| 142 | containerPtr->send_comp_update(drawP, true); |
| 143 | commitUpdate = false; |
| 144 | drawP.layerMan.add_undo_place_component(objInfoBeingEdited); |
| 145 | objInfoBeingEdited = nullptr; |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | void TextBoxTool::draw(SkCanvas* canvas, const DrawData& drawData) { |
| 150 | } |
nothing calls this directly
no test coverage detected