mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 10:38:14 +03:00
Minor changes
- added usage statistics to the readme - changed let to const in.. don't matter
This commit is contained in:
parent
5c0ea4e5da
commit
dbf8540946
3 changed files with 10 additions and 5 deletions
|
@ -22,6 +22,12 @@ Download from [Releases](https://notabug.org/nobody/an-anime-game-launcher/relea
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
## Usage statistics
|
||||||
|
|
||||||
|
<img src="repository-pics/statistics.png">
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
|
|
||||||
To work this launcher requires
|
To work this launcher requires
|
||||||
|
|
BIN
repository-pics/statistics.png
Normal file
BIN
repository-pics/statistics.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
|
@ -28,12 +28,11 @@ export class Tools
|
||||||
{
|
{
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
getPixels(path, (err: void, pixels: any) => {
|
getPixels(path, (err: void, pixels: any) => {
|
||||||
let response = [];
|
let response = [], offset = 0;
|
||||||
|
|
||||||
let width = pixels.shape[0],
|
const width = pixels.shape[0],
|
||||||
height = pixels.shape[1],
|
height = pixels.shape[1],
|
||||||
depth = pixels.shape[2],
|
depth = pixels.shape[2];
|
||||||
offset = 0;
|
|
||||||
|
|
||||||
for (let i = 0; i < height; ++i)
|
for (let i = 0; i < height; ++i)
|
||||||
for (let j = 0; j < width; ++j)
|
for (let j = 0; j < width; ++j)
|
||||||
|
|
Loading…
Reference in a new issue