popout positioning
This commit is contained in:
@@ -16,7 +16,7 @@ Shape {
|
|||||||
Modules.Background {
|
Modules.Background {
|
||||||
wrapper: root.panels.popouts
|
wrapper: root.panels.popouts
|
||||||
|
|
||||||
startX: Math.floor(wrapper.x - rounding)
|
startX: wrapper.x - rounding
|
||||||
startY: wrapper.y
|
startY: wrapper.y
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ Item {
|
|||||||
const diff = root.width - Math.floor(off + nonAnimWidth);
|
const diff = root.width - Math.floor(off + nonAnimWidth);
|
||||||
if (diff < 0)
|
if (diff < 0)
|
||||||
return off + diff;
|
return off + diff;
|
||||||
return Math.max(off, 0);
|
return Math.floor(Math.max(off, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user