Skip to content

Commit

Permalink
Merge pull request #1174 from Lenkomotive/PAINTROID-519
Browse files Browse the repository at this point in the history
PAINTROID-519 Changing stroke-tip type triggers undo action
  • Loading branch information
juliajulie95 authored Mar 7, 2023
2 parents d328de0 + 32fa099 commit 42f9a37
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ class LineTool(
val endX = endPointToDraw?.x
val endY = endPointToDraw?.y
if (commandManager.isUndoAvailable) {
commandManager.undoIgnoringColorChanges()
val finalPath = SerializablePath().apply {
if (startX != null && startY != null && endX != null && endY != null) {
moveTo(startX, startY)
Expand Down

0 comments on commit 42f9a37

Please sign in to comment.