Skip to content

Commit c4d7061

Browse files
committed
changing encoding modal so it's a small dialog with no screen dimming
1 parent 162ea47 commit c4d7061

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

webgl/ktx2_encode_test/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@
21662166
function showBusyModal()
21672167
{
21682168
//console.log("Showing modal");
2169-
document.getElementById('busy-modal').style.display = 'flex';
2169+
document.getElementById('busy-modal').style.display = 'block';
21702170
}
21712171

21722172
function hideBusyModal()
@@ -2371,7 +2371,7 @@
23712371

23722372
<br>
23732373
<div style="font-size: 24pt; font-weight: bold">
2374-
Basis Universal .KTX2 Supercompressed GPU Texture Encoding/Transcoding Testbed v2.13
2374+
Basis Universal .KTX2 Supercompressed GPU Texture Encoding/Transcoding Testbed v2.14
23752375
</div>
23762376

23772377
<br>This simple demo uses the <a href="https://github.com/BinomialLLC/basis_universal/">Basis Universal</a> C++ transcoder (compiled to WebAssembly using Emscripten) to transcode a .ktx2 file to:
@@ -2839,7 +2839,7 @@
28392839
<div id="log-panel" class="log-panel">
28402840
</div>
28412841

2842-
<div id="busy-modal" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 9999; justify-content: center; align-items: center; font-size: 24px; color: white; display: none;">
2842+
<div id="busy-modal" style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0,0,0,0.85); z-index: 9999; font-size: 18px; color: white; display: none; padding: 20px 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5);">
28432843
Encoding... Please wait.
28442844
</div>
28452845

0 commit comments

Comments
 (0)