Prevent undo/redo when Edit tool selects an object
This commit is contained in:
parent
e505e08b53
commit
ed931f0a78
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ void EditTool::tool_update() {
|
|||
}
|
||||
|
||||
bool EditTool::prevent_undo_or_redo() {
|
||||
return objInfoBeingEdited;
|
||||
return objInfoBeingEdited || drawP.selection.is_something_selected();
|
||||
}
|
||||
|
||||
void EditTool::draw(SkCanvas* canvas, const DrawData& drawData) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue