From c30af2f624fb779ad4c5952b7a08f0be16d34667 Mon Sep 17 00:00:00 2001
From: mcmlxxix <>
Date: Sat, 21 Jun 2014 01:28:51 +0000
Subject: [PATCH] fix reported bug by captain kirk.... man. use frame offset
 when determining if the top level frame has data at a given x,y. fixes
 problem with transparency filtering around only the first sprite position's
 content (ala sprite.js)

---
 exec/load/frame.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/frame.js b/exec/load/frame.js
index 43f99bba8f..daa2240519 100644
--- a/exec/load/frame.js
+++ b/exec/load/frame.js
@@ -1228,7 +1228,7 @@ function Canvas(frame,display) {
 			return undefined;
 		if(xpos >= this.frame.width || ypos >= this.frame.height)
 			return undefined;
-		if(this.frame.transparent && this.frame.getData(xpos,ypos).ch == undefined)
+		if(this.frame.transparent && this.frame.getData(xpos,ypos,true).ch == undefined)
 			return undefined;
 		return true;
 	}
-- 
GitLab