DWilliames / paddy-sketch-plugin

Automated padding, spacing and alignment for your Sketch layers
MIT License
2.17k stars 61 forks source link

Issue with Undo (Cmd + Z) #55

Closed iamsankalp closed 6 years ago

iamsankalp commented 6 years ago

Bug report

Expected behavior:

  1. Draw a rectangle

  2. Click anywhere outside to unselect the layer.

  3. Press Cmd + Z for undo.

  4. The rectangle should have been removed as that was the last step.

Actual behavior:

The rectangle first gets selected, then on a subsequent press of Cmd + Z again, the rectangle is removed.

Can someone else also verify? I noticed this bug today - it was there before the Sketch v49 update also.

I can say that this happens only if I have Paddy plugin enabled. I have checked by removing all others.

Thanks, Sankalp

bbsody commented 6 years ago

Yes, I'm having the same issue.

DWilliames commented 6 years ago

Yep. Thanks for this @iamsankalp . This is such a bad bug! I'll mark this as a duplicate for now. See here: https://github.com/DWilliames/paddy-sketch-plugin/issues/47