Skip to content

Commit

Permalink
added issues message
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Sep 28, 2024
1 parent 0057162 commit 59a1066
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
![Lines Count](https://img.shields.io/endpoint?url=https%3A%2F%2Fghloc.vercel.app%2Fapi%2FPPLBandage%2Fpplbandage_site%2Fbadge%3Ffilter%3D.ts%24%2C.tsx%24%2C.css%24)
**Исходный код сайта с повязками.**

<h2 style="color: #ED4245">Известные проблемы</h2>

- В браузерах `FireFox <=130.0` окрашивание повязок работает некорректно.

## Запуск

1. Установка зависимостей
Expand Down
2 changes: 1 addition & 1 deletion src/app/workshop/[id]/bandage_engine.module.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export const fillPepe = (input: HTMLCanvasElement | HTMLImageElement, color: Arr
const b = data[index + 2];
const a = data[index + 3];

if (a != 0 && r == g && g == b) {
if (a !== 0 && r === g && g === b) {
data[index] = (r / 255) * color[0];
data[index + 1] = (g / 255) * color[1];
data[index + 2] = (b / 255) * color[2];
Expand Down

0 comments on commit 59a1066

Please sign in to comment.