|
|
@@ -95,8 +95,8 @@ define([ |
|
|
|
if (!pat[0]) |
|
|
|
return; |
|
|
|
|
|
|
|
let posX = ~~((pat.width() / 2) - (el.width() / 2)) - 10; |
|
|
|
let posY = ~~((pat.height() / 2) - (el.height() / 2)) - 10; |
|
|
|
let posX = ~~((pat.width() / 2) - (el.width() / 2)); |
|
|
|
let posY = ~~((pat.height() / 2) - (el.height() / 2)); |
|
|
|
|
|
|
|
el.css('position', 'absolute'); |
|
|
|
if (x) |
|
|
|