mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 08:27:27 +02:00
✨ Improve frame thumbnail rendering
This commit is contained in:
parent
37f9a5d9f2
commit
3656ab977b
10 changed files with 68 additions and 33 deletions
|
@ -287,7 +287,7 @@ goog.scope(function() {
|
|||
|
||||
function moveRedLeft(branch) {
|
||||
flipColors(branch);
|
||||
if (isRed(branch.right.left)) {
|
||||
if (branch.right && isRed(branch.right.left)) {
|
||||
branch.right = rotateRight(branch.right);
|
||||
branch = rotateLeft(branch);
|
||||
flipColors(branch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue