mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 13:49:06 +00:00
The height comparison in frame-same-size? used the misspelled keyword :heigth on both sides. (:heigth selrect) returns nil for any selrect, so (= nil nil) is always true and the function degenerated to a width-only comparison. Result: the 'paste next to selected frame' branch in clipboard.cljs fired whenever pasted-content width matched a target frame's width, even if the heights differed. Introduced in #9033 (✨ Add paste to replace (Cmd+Shift+V)). Signed-off-by: iot2edge <tylerprice830@gmail.com> Co-authored-by: iot2edge <tylerprice830@gmail.com>