Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2.1 #38

Merged
merged 1 commit into from
Nov 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix for saving BMP
  • Loading branch information
viliusle committed Nov 21, 2016
commit c892ada010e29f6dbdc4e24d76da225bd6ef48d4
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var canvas_grid = document.getElementById("canvas_grid").getContext("2d"); //gr
var canvas_preview = document.getElementById("canvas_preview").getContext("2d"); //mini preview

//global settings
var VERSION = '3.2';
var VERSION = '3.2.1';
var WIDTH; //canvas midth
var HEIGHT; //canvas height
var COLOR = '#0000ff'; //active color
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<span class="trn mouse_info_title">Size:</span>
<span id="mouse_info_size"></span><br />

<span class="trn mouse_info_title">Mouse:</span>
<span style="font-size:10px;" class="trn mouse_info_title">Mouse:</span>
<span id="mouse_info_mouse"></span><br />

<div style="display:none;" id="mouse_info_selected">
Expand Down
4 changes: 2 additions & 2 deletions js/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ function FILE_CLASS() {
}
else if (user_response.type == 'BMP') {
//bmp
if (HELPER.strpos(fname, '.webp') == false)
fname = fname + ".webp";
if (HELPER.strpos(fname, '.bmp') == false)
fname = fname + ".bmp";
var data_header = "image/bmp";

//check support
Expand Down