Commit 8808b98
committed
Refactor setAdditiveBlendMode to remove context parameter
- Removed the context parameter from the setAdditiveBlendMode function in both littlejs.release.js and engineDraw.js.
- Updated the function to directly use drawContext for setting the globalCompositeOperation.1 parent daa683b commit 8808b98
7 files changed
Lines changed: 11 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2016 | 2016 | | |
2017 | 2017 | | |
2018 | 2018 | | |
2019 | | - | |
2020 | 2019 | | |
2021 | | - | |
| 2020 | + | |
2022 | 2021 | | |
2023 | 2022 | | |
2024 | 2023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5189 | 5189 | | |
5190 | 5190 | | |
5191 | 5191 | | |
5192 | | - | |
5193 | 5192 | | |
5194 | | - | |
| 5193 | + | |
5195 | 5194 | | |
5196 | 5195 | | |
5197 | | - | |
| 5196 | + | |
5198 | 5197 | | |
5199 | 5198 | | |
5200 | 5199 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5189 | 5189 | | |
5190 | 5190 | | |
5191 | 5191 | | |
5192 | | - | |
5193 | 5192 | | |
5194 | | - | |
| 5193 | + | |
5195 | 5194 | | |
5196 | 5195 | | |
5197 | | - | |
| 5196 | + | |
5198 | 5197 | | |
5199 | 5198 | | |
5200 | 5199 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4501 | 4501 | | |
4502 | 4502 | | |
4503 | 4503 | | |
4504 | | - | |
4505 | 4504 | | |
4506 | | - | |
| 4505 | + | |
4507 | 4506 | | |
4508 | 4507 | | |
4509 | | - | |
| 4508 | + | |
4510 | 4509 | | |
4511 | 4510 | | |
4512 | 4511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1183 | 1183 | | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | | - | |
1187 | 1186 | | |
1188 | | - | |
| 1187 | + | |
1189 | 1188 | | |
1190 | 1189 | | |
1191 | | - | |
| 1190 | + | |
1192 | 1191 | | |
1193 | 1192 | | |
1194 | 1193 | | |
| |||
0 commit comments