From 05ca64ba56a547369dbaa4c5611fb18d2d3229cc Mon Sep 17 00:00:00 2001 From: Haroldo de Oliveira Pinheiro Date: Tue, 29 Dec 2020 18:17:47 -0300 Subject: [PATCH 1/3] Reducing maximum height of the portrait, so that it runs correctly on Lynx. --- blockly/apps/blocklyduino/blockly_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockly/apps/blocklyduino/blockly_helper.js b/blockly/apps/blocklyduino/blockly_helper.js index 62aaacc..682b2f0 100644 --- a/blockly/apps/blocklyduino/blockly_helper.js +++ b/blockly/apps/blocklyduino/blockly_helper.js @@ -254,7 +254,7 @@ const copyPortraitFile = async ({imgName, imgAbbrev}) => { ctx.clearRect(0, 0, canvas.width, canvas.height); // Calculate image size to fit - const maxHeight = 120; + const maxHeight = 100; let imgWidth = img.width; let imgHeight = img.height; if (imgHeight > maxHeight) { From 83783b998c524e2590cde9228ec1a5d119037988 Mon Sep 17 00:00:00 2001 From: Haroldo de Oliveira Pinheiro Date: Tue, 29 Dec 2020 18:21:30 -0300 Subject: [PATCH 2/3] Correct window title. --- blockly/apps/blocklyduino/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockly/apps/blocklyduino/index.html b/blockly/apps/blocklyduino/index.html index 38bd37e..9e4038c 100644 --- a/blockly/apps/blocklyduino/index.html +++ b/blockly/apps/blocklyduino/index.html @@ -1,7 +1,7 @@ - BlocklyVN32X + BlocklyVN8bit From acb8b00a7e13f5b4ac41931ae5d4fd4029ed5af3 Mon Sep 17 00:00:00 2001 From: Haroldo de Oliveira Pinheiro Date: Tue, 29 Dec 2020 18:21:55 -0300 Subject: [PATCH 3/3] Bump version to 0.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4d311b..5b3e3df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "BlocklyVN8bit", - "version": "0.2.0", + "version": "0.2.1", "description": "Uses blockly to generate visual novels for 8bit-Unity", "main": "main.js", "scripts": {