From c9c3be59a48caeda66a009b9e3ae2ce9ee739b31 Mon Sep 17 00:00:00 2001 From: livecodepanos Date: Sat, 20 Jun 2020 13:39:38 +0300 Subject: [PATCH 1/2] Updated thirdparty submodule ptr --- thirdparty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty b/thirdparty index 53b9ca80ab6..a33214fe97f 160000 --- a/thirdparty +++ b/thirdparty @@ -1 +1 @@ -Subproject commit 53b9ca80ab6d2406a6e7764b826877aa79e7a9fd +Subproject commit a33214fe97fb996e58f81c48d467fcd516219ca8 From 0ce924cfd22368e8e51f3656de05fecbc9fc6d81 Mon Sep 17 00:00:00 2001 From: livecodepanos Date: Wed, 28 Apr 2021 19:02:29 +0300 Subject: [PATCH 2/2] [[ Bug 22949 ]] Mention 'the screenrect' behavior on iOS Zoomed mode This patch adds a note in the dictionary entry of 'the screenrect', mentioning the behavor of this function on iOS if Zoomed mode is enabled. --- docs/dictionary/function/screenRect.lcdoc | 8 ++++++++ docs/notes/bugfix-22949.md | 1 + 2 files changed, 9 insertions(+) create mode 100644 docs/notes/bugfix-22949.md diff --git a/docs/dictionary/function/screenRect.lcdoc b/docs/dictionary/function/screenRect.lcdoc index 2d872d04522..56fb5b7ace3 100644 --- a/docs/dictionary/function/screenRect.lcdoc +++ b/docs/dictionary/function/screenRect.lcdoc @@ -55,6 +55,14 @@ the screen. (Android and iOS only) > values will depend on the user's local configuration. In particular, > they can take both positive and negative values. +>*Note:* On iOS, if the setting "Display Zoom" is checked +>(Settings -> Display and Brightness and then scroll down and in the "Display Zoom" section --> "Zoomed") +>then "the screenrect" reports incorrect results. It usually reports the screenrect of the "previous" (smaller) device, so if "Zoomed" >is checked: +> +>- the screenrect in an iPhone6+/7+/8+ reports the screenrect of iPhone6/7/8 +>- the screenrect of an iPhone6 reports the screenrect of iPhone5 etc + + References: export snapshot (command), function (control structure), screenType (function), screenLoc (function), return (glossary), integer (glossary), fullscreen (property) diff --git a/docs/notes/bugfix-22949.md b/docs/notes/bugfix-22949.md new file mode 100644 index 00000000000..11cb13b9385 --- /dev/null +++ b/docs/notes/bugfix-22949.md @@ -0,0 +1 @@ +# Mention the behavior of 'the screenrect' on iOS if "Display Zoom" is checked