mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-15 18:13:59 +00:00
fixing scroll
This commit is contained in:
parent
abfa452c0d
commit
519c62e9a4
@ -1,5 +1,5 @@
|
||||
// Author: Stefan Gustavson
|
||||
// Title: Cellular noise ("Worley noise")
|
||||
// Title: Worley noise
|
||||
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Author: Stefan Gustavson
|
||||
// Title: Cellular noise ("Worley noise")
|
||||
// Title: Worley noise
|
||||
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
|
@ -289,8 +289,12 @@ window.cancelRequestAnimFrame = (function() {
|
||||
})();
|
||||
|
||||
window.onload = function(){
|
||||
window.scrollTo(0, 0);
|
||||
styleCodeBlocks();
|
||||
loadGlslElements();
|
||||
captionizeImages();
|
||||
window.scrollTo(0, 0);
|
||||
setTimeout(function () {
|
||||
window.scrollTo(0, 0);
|
||||
}, 1000);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user