微件:ScenarioSimulator:修订间差异
跳到导航
跳到搜索
小无编辑摘要 |
小无编辑摘要 |
||
第1,069行: | 第1,069行: | ||
temp_obj.style.backgroundPosition = image_x + "px " + image_y + "px"; | temp_obj.style.backgroundPosition = image_x + "px " + image_y + "px"; | ||
temp_obj.style.backgroundSize = image_width + "px " + image_height + "px"; | temp_obj.style.backgroundSize = image_width + "px " + image_height + "px"; | ||
if(image_x < tween_x){return 0;} | if(Math.abs(image_x) < Math.abs(tween_x)){return 0;} | ||
if(image_y < tween_y){return 0;} | if(Math.abs(image_y) < Math.abs(tween_y)){return 0;} | ||
if(image_width < tween_width){return 0;} | if(image_width < tween_width){return 0;} | ||
if(image_height < tween_height){return 0;} | if(image_height < tween_height){return 0;} |