mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-02 11:30:22 +02:00
defer resize updation to next stack. fixes #51
This commit is contained in:
@@ -142,7 +142,11 @@ settingsBtn, onboardModal, notificationsBtn, onboardShowInTabOptionBtn, onboardD
|
|||||||
minSize: 34,
|
minSize: 34,
|
||||||
gutterSize: 6,
|
gutterSize: 6,
|
||||||
onDragEnd: function () {
|
onDragEnd: function () {
|
||||||
scope.setPreviewContent(true);
|
// Running preview updation in next call stack, so that error there
|
||||||
|
// doesn't affect this dragend listener.
|
||||||
|
setTimeout(function () {
|
||||||
|
scope.setPreviewContent(true);
|
||||||
|
}, 1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user