Refactor add selected dock image to appear in front of the sidebar
This commit is contained in:
@@ -113,7 +113,7 @@ export const Builder = ({ editor }) => {
|
|||||||
imageUrl,
|
imageUrl,
|
||||||
function (img) {
|
function (img) {
|
||||||
img.set({
|
img.set({
|
||||||
left: 240, //Note that this starting pos is behind the sidebar
|
left: 300, //To prevent appearing behind the sidebar
|
||||||
top: 0,
|
top: 0,
|
||||||
scaleX: scaleFactor,
|
scaleX: scaleFactor,
|
||||||
scaleY: scaleFactor,
|
scaleY: scaleFactor,
|
||||||
|
|||||||
Reference in New Issue
Block a user