Skip to content

Commit

Permalink
Version 0.2.1: Correct lynx portrait bug.
Browse files Browse the repository at this point in the history
Correct bug where portraits failed to display on Lynx.
This fixes #4.
  • Loading branch information
Haroldo de Oliveira Pinheiro committed Dec 29, 2020
2 parents db69237 + acb8b00 commit 99c5005
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blockly/apps/blocklyduino/blockly_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion blockly/apps/blocklyduino/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html manifest=node.manifest>
<head>
<meta charset="utf-8">
<title>BlocklyVN32X</title>
<title>BlocklyVN8bit</title>

<link rel="stylesheet" href="css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/alertify/alertify.min.css">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 99c5005

Please sign in to comment.