as the above screenshot, edit engine canvas's actual size is 927.5 291.41, but the setted viewport data(set when exec init pipeline) is 1855 427(they should be the same!)
reason
the setted viewport data is wrong
solution
the setted viewport data is full screen data, but it should:
1.set viewport after react dom didmout
2.the setted viewport data should be the canvas css width,height
environment
editor version
v0.10.0
engine version
v1.0.0-alpha.18.5
description
as the above screenshot, edit engine canvas's actual size is 927.5 291.41, but the setted viewport data(set when exec init pipeline) is 1855 427(they should be the same!)
reason
the setted viewport data is wrong
solution
the setted viewport data is full screen data, but it should: 1.set viewport after react dom didmout 2.the setted viewport data should be the canvas css width,height