Skip to content

Commit

Permalink
Fix background image height
Browse files Browse the repository at this point in the history
Background image height was being set to 202 instead of 200.
Merge pull request #39 from haroldo-ok/image-height
This fixes #21
  • Loading branch information
haroldo-ok authored Oct 18, 2022
2 parents 8f659b7 + 84df888 commit 749f41a
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/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = require('fs');
const path = require('path');

const MAX_WIDTH = 320;
const MAX_HEIGHT = 202;
const MAX_HEIGHT = 200;

rivets.formatters.imageName = {

Expand Down
2 changes: 1 addition & 1 deletion blockly/apps/blocklyduino/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ <h1 id="version_header">BlocklyVN32X</h1>
<label>Image name:</label>
<input type="text" rv-value="data.imageName | imageName" />
</section>
<canvas class="image-preview" width="320" height="202"></canvas>
<canvas class="image-preview" width="320" height="200"></canvas>
<button rv-on-click="controller.addImage">Add image</button>
</div>
<ul class="image-list">
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.7",
"version": "0.2.8",
"description": "Uses blockly to generate visual novels for 8bit-Unity",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 749f41a

Please sign in to comment.