gb-image-decoder
Advanced tools
+3
-0
@@ -149,2 +149,5 @@ 'use strict'; | ||
| const tileIndexIsPartOfFrame = (tileIndex, imageStartLine, handleExportFrame = ExportFrameMode.FRAMEMODE_KEEP) => { | ||
| if (handleExportFrame === ExportFrameMode.FRAMEMODE_CROP) { | ||
| return false; | ||
| } | ||
| const checkIndex = tileIndex - (handleExportFrame === ExportFrameMode.FRAMEMODE_KEEP ? 0 : 20); | ||
@@ -151,0 +154,0 @@ if (checkIndex < imageStartLine * 20) { |
+3
-0
@@ -147,2 +147,5 @@ var BlendMode = /* @__PURE__ */ ((BlendMode2) => { | ||
| const tileIndexIsPartOfFrame = (tileIndex, imageStartLine, handleExportFrame = ExportFrameMode.FRAMEMODE_KEEP) => { | ||
| if (handleExportFrame === ExportFrameMode.FRAMEMODE_CROP) { | ||
| return false; | ||
| } | ||
| const checkIndex = tileIndex - (handleExportFrame === ExportFrameMode.FRAMEMODE_KEEP ? 0 : 20); | ||
@@ -149,0 +152,0 @@ if (checkIndex < imageStartLine * 20) { |
+1
-1
| { | ||
| "name": "gb-image-decoder", | ||
| "version": "1.2.0", | ||
| "version": "1.2.1", | ||
| "description": "Decoder classes for GameBoy-encoded images", | ||
@@ -5,0 +5,0 @@ "repository": "", |
60821
0.28%1393
0.43%