diff options
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; |