mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
fix TiltShiftPass watch
This commit is contained in:
parent
a67d322790
commit
50410d4cbb
@ -33,7 +33,7 @@ export default {
|
||||
|
||||
this.updateFocusLine();
|
||||
['start', 'end'].forEach(p => {
|
||||
watch(() => this[p], this.updateFocusLine);
|
||||
watch(() => this[p], this.updateFocusLine, { deep: true });
|
||||
});
|
||||
|
||||
this.pass.setSize = (width, height) => {
|
||||
|
Loading…
Reference in New Issue
Block a user