Skip to content

Commit 0ac0bc1

Browse files
committed
Set tint on setters
1 parent 390ae5f commit 0ac0bc1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/gameobjects/components/Tint.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ var Tint = {
217217
set: function (value)
218218
{
219219
this._tintTL = GetColor(value);
220+
this._isTinted = true;
220221
}
221222

222223
},
@@ -240,6 +241,7 @@ var Tint = {
240241
set: function (value)
241242
{
242243
this._tintTR = GetColor(value);
244+
this._isTinted = true;
243245
}
244246

245247
},
@@ -263,6 +265,7 @@ var Tint = {
263265
set: function (value)
264266
{
265267
this._tintBL = GetColor(value);
268+
this._isTinted = true;
266269
}
267270

268271
},
@@ -286,6 +289,7 @@ var Tint = {
286289
set: function (value)
287290
{
288291
this._tintBR = GetColor(value);
292+
this._isTinted = true;
289293
}
290294

291295
},

0 commit comments

Comments
 (0)