Prevent undo and redo at points when they might break the program
This commit is contained in:
parent
f606fc6fc1
commit
2de5c90006
21 changed files with 79 additions and 2 deletions
|
|
@ -73,5 +73,9 @@ void InkDropperTool::tool_update() {
|
|||
}
|
||||
}
|
||||
|
||||
bool InkDropperTool::prevent_undo_or_redo() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void InkDropperTool::draw(SkCanvas* canvas, const DrawData& drawData) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue