Skip to content

Commit 679f5a7

Browse files
authored
Merge pull request #437 from jorge-graca-sky/patch-1
Improve colorBl access on c2d/DefaultShader.mjs
2 parents caeb45f + f0e9470 commit 679f5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/c2d/shaders/DefaultShader.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default class DefaultShader extends C2dShader {
115115

116116
if (vc._colorUl === vc._colorUr) {
117117
if (vc._colorBl === vc._colorBr) {
118-
if (vc._colorUl === vc.colorBl) {
118+
if (vc._colorUl === vc._colorBl) {
119119
// Single color.
120120
} else {
121121
// Vertical gradient.

0 commit comments

Comments
 (0)