diff options
author | pommicket <pommicket@gmail.com> | 2023-08-27 13:13:12 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-27 13:13:12 -0400 |
commit | d83e63310a5fe2a35775cb70327c24204ea7464b (patch) | |
tree | 21b6b676617c412a3c22a0577f1915791540169d /pugl.js | |
parent | 132289ea7c3bffb99bd392fd44a6b1508b6a740b (diff) |
start "about"
Diffstat (limited to 'pugl.js')
-rw-r--r-- | pugl.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,9 +2,11 @@ /* TODO: -- reset button - guide - about dialog +- widgets: + - min + - max */ const APP_ID = 'dh3YgVZQdX1Q'; @@ -2371,6 +2373,10 @@ function startup() { } }); + document.getElementById('about-button').addEventListener('click', () => { + document.getElementById('about-dialog').showModal(); + }); + document.getElementById('resolution-form').addEventListener('submit', () => { render_width = resolution_x_element.value; render_height = resolution_y_element.value; |