mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Cosmetic fixes.
This commit is contained in:
parent
653d3bb358
commit
e530103f43
@ -88,7 +88,6 @@
|
||||
var progressElement = document.getElementById('progress');
|
||||
var spinnerElement = document.getElementById('spinner');
|
||||
var preloadElement = document.getElementById('preload');
|
||||
var canvasElement = document.getElementById('canvas');
|
||||
|
||||
function resizeHandler() {
|
||||
Module.ccall('nativeResize', 'number', ['number', 'number'], [window.innerWidth * window.devicePixelRatio, window.innerHeight * window.devicePixelRatio]);
|
||||
@ -134,8 +133,8 @@
|
||||
progressElement.value = null;
|
||||
progressElement.max = null;
|
||||
progressElement.hidden = true;
|
||||
preloadElement.hidden = true;
|
||||
if (!text) {
|
||||
preloadElement.hidden = true;
|
||||
spinnerElement.style.display = 'none';
|
||||
resizeHandler();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user