mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@855 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4e2964adaf
commit
b96a8dfc4f
1 changed files with 2 additions and 2 deletions
|
|
@ -256,7 +256,6 @@ function showOriginalImage(evt) {
|
|||
orig_image.src = src;
|
||||
|
||||
var areabg = xGetElementById("fororiginalimageareabg");
|
||||
areabg.style.visibility = "visible";
|
||||
xWidth(areabg, image_width+22);
|
||||
xHeight(areabg, image_height+32);
|
||||
|
||||
|
|
@ -273,7 +272,6 @@ function showOriginalImage(evt) {
|
|||
var y = parseInt((area_height-image_height)/2,10);
|
||||
if(x<0) x = 0;
|
||||
if(y<0) y = 0;
|
||||
|
||||
xLeft(areabg, x);
|
||||
xTop(areabg, y);
|
||||
|
||||
|
|
@ -283,6 +281,8 @@ function showOriginalImage(evt) {
|
|||
xAddEventListener(orig_image, "mousedown", origImageDragEnable);
|
||||
xAddEventListener(window, "scroll", closeOriginalImage);
|
||||
xAddEventListener(window, "resize", closeOriginalImage);
|
||||
|
||||
areabg.style.visibility = 'visible';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue