From 227d809c83ec73ac86320891940d3c8275a3f052 Mon Sep 17 00:00:00 2001 From: Insality Date: Thu, 1 Apr 2021 22:52:03 +0300 Subject: [PATCH] Update default page, update changelogs --- docs_md/changelog.md | 1 + example/gui/main/main.gui | 4 ++-- example/gui/main/main.gui_script | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs_md/changelog.md b/docs_md/changelog.md index f4f2d46..6dc7fde 100644 --- a/docs_md/changelog.md +++ b/docs_md/changelog.md @@ -157,3 +157,4 @@ local Drag = component.create("drag", { component.ON_INPUT }, const.PRIORITY_INP -- Mouse scroll working when cursor is hover on scroll view node -- Vertical scroll have more priority than horizontal -- Fix: When Hover component node became disabled, reset hover state (throw on_hover and on_mouse_hover events) +-- This is basic implementation, it is work not perfect diff --git a/example/gui/main/main.gui b/example/gui/main/main.gui index 0ddc821..cc3a6f9 100644 --- a/example/gui/main/main.gui +++ b/example/gui/main/main.gui @@ -5984,7 +5984,7 @@ nodes { nodes { position { x: -300.0 - y: 0.0 + y: 150.0 z: 0.0 w: 1.0 } @@ -6018,7 +6018,7 @@ nodes { id: "grid_content" xanchor: XANCHOR_NONE yanchor: YANCHOR_NONE - pivot: PIVOT_W + pivot: PIVOT_NW adjust_mode: ADJUST_MODE_FIT parent: "scroll_with_grid_size" layer: "image" diff --git a/example/gui/main/main.gui_script b/example/gui/main/main.gui_script index 7a4d589..c5b1348 100644 --- a/example/gui/main/main.gui_script +++ b/example/gui/main/main.gui_script @@ -72,7 +72,7 @@ function init(self) init_swipe_control(self) - self.page = 8 + self.page = 1 main_page.setup_page(self) text_page.setup_page(self) button_page.setup_page(self)