Fixed a bug which sometimes occured on touch devices.
The bug would prevent the viewport from properly changing size.
This commit is contained in:
parent
21256e9c6d
commit
359f88a764
|
|
@ -402,7 +402,7 @@ that.resize = function(width, height) {
|
||||||
fb_height = height;
|
fb_height = height;
|
||||||
|
|
||||||
rescale(conf.scale);
|
rescale(conf.scale);
|
||||||
that.viewportChange();
|
that.viewportChange(0, 0, width, height);
|
||||||
};
|
};
|
||||||
|
|
||||||
that.clear = function() {
|
that.clear = function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue