[v3 windows] Fix screen example

This commit is contained in:
Lea Anthony 2023-06-11 11:54:32 +10:00
commit b517461fbe
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
2 changed files with 25 additions and 25 deletions

View file

@ -109,8 +109,8 @@ Webview Window Interface Methods
| Feature | Windows | Linux | Mac | Notes |
|---------|---------|-------|-----|-------|
| SetText | | | Y | |
| Text | | | Y | |
| SetText | Y | | Y | |
| Text | Y | | Y | |
### ContextMenu
@ -206,7 +206,7 @@ To log or not to log? System logger vs custom logger.
| Event | Windows | Linux | Mac | Notes |
|--------------------------|---------|-------|-----|-------|
| Default Application Menu | | | Y | |
| Default Application Menu | Y | | Y | |
## Tray Menus
@ -344,23 +344,23 @@ TODO:
## Examples
| Example | Windows | Linux | Mac |
|--------------|--------------------|-------|-----|
| binding | NO | | |
| build | Yes (Debug + Prod) | | |
| clipboard | NO | | |
| contextmenus | Yes | | |
| dialogs | Almost | | |
| drag-n-drop | NO | | |
| events | NO | | |
| frameless | NO | | |
| kitchensink | Yes | | |
| menu | Yes | | |
| plain | Yes | | |
| plugins | | | |
| screen | | | |
| systray | | | |
| window | | | |
| windowjs | | | |
| wml | | | |
| Example | Windows | Linux | Mac | Notes |
|--------------|--------------------|-------|-----|-------------------------|
| binding | NO | | | |
| build | Yes (Debug + Prod) | | | |
| clipboard | NO | | | |
| contextmenus | Yes | | | |
| dialogs | Almost | | | |
| drag-n-drop | NO | | | |
| events | NO | | | |
| frameless | NO | | | |
| kitchensink | Yes | | | |
| menu | Yes | | | |
| plain | Yes | | | |
| plugins | | | | Just needs StartAtLogin |
| screen | Yes | | | |
| systray | | | | |
| window | | | | |
| windowjs | | | | |
| wml | | | | |

View file

@ -53,10 +53,10 @@
let html = "";
for (let i = 0; i < result.length; i++) {
html += "<article class='center'><div class='monitor'><div style='padding:5px;'>";
let hidpi = result[i].scale === 2 ? " (HiDPI)" : "";
html += "<h3 class='center'>"+result[i].name+"</h3>";
let hidpi = result[i].Scale === 2 ? " (HiDPI)" : "";
html += "<h3 class='center'>"+result[i].Name+"</h3>";
html += "<h4 class='center'>"+hidpi+"</h4>";
html += "<h4 class='center'>"+result[i].size.width+"x"+result[i].size.height+"</h4>";
html += "<h4 class='center'>"+result[i].Size.Width+"x"+result[i].Size.Height+"</h4>";
html += "</div></div></article>";
}
document.body.innerHTML = html;