From b517461fbe1d7348419f9a478c332eeb03d09ffa Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 11 Jun 2023 11:54:32 +1000 Subject: [PATCH] [v3 windows] Fix screen example --- v3/STATUS.md | 44 ++++++++++++++-------------- v3/examples/screen/assets/index.html | 6 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/v3/STATUS.md b/v3/STATUS.md index e600dce2c..655650dde 100644 --- a/v3/STATUS.md +++ b/v3/STATUS.md @@ -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 | | | | | diff --git a/v3/examples/screen/assets/index.html b/v3/examples/screen/assets/index.html index 31b38e046..4b385ada1 100644 --- a/v3/examples/screen/assets/index.html +++ b/v3/examples/screen/assets/index.html @@ -53,10 +53,10 @@ let html = ""; for (let i = 0; i < result.length; i++) { html += "
"; - let hidpi = result[i].scale === 2 ? " (HiDPI)" : ""; - html += "

"+result[i].name+"

"; + let hidpi = result[i].Scale === 2 ? " (HiDPI)" : ""; + html += "

"+result[i].Name+"

"; html += "

"+hidpi+"

"; - html += "

"+result[i].size.width+"x"+result[i].size.height+"

"; + html += "

"+result[i].Size.Width+"x"+result[i].Size.Height+"

"; html += "
"; } document.body.innerHTML = html;