diff options
| author | dam <dam@gudinoff> | 2021-12-27 03:31:03 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2021-12-27 03:31:03 +0000 |
| commit | 5b863fdc25848817ef11f0c1a33ef45a4160aa2c (patch) | |
| tree | fc02e32880c4eb72597424da0055bf2172ea7da0 /main.tscn | |
| parent | a2af4c7d07259a091deabdceaa5da1a2f7757c5e (diff) | |
| download | surgery-log-5b863fdc25848817ef11f0c1a33ef45a4160aa2c.tar.zst surgery-log-5b863fdc25848817ef11f0c1a33ef45a4160aa2c.zip | |
Allow to scroll database screen without selecting item on touch-down.
Diffstat (limited to 'main.tscn')
| -rw-r--r-- | main.tscn | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=11 format=2] [ext_resource path="res://main.gd" type="Script" id=1] [ext_resource path="res://date_picker/date_picker.tscn" type="PackedScene" id=2] @@ -9,6 +9,7 @@ [ext_resource path="res://icons/add.png" type="Texture" id=7] [ext_resource path="res://icons/delete.png" type="Texture" id=8] [ext_resource path="res://logic/stage.gd" type="Script" id=9] +[ext_resource path="res://touch_scroll.gd" type="Script" id=10] [node name="main" type="Control"] anchor_right = 1.0 @@ -28,6 +29,15 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="touch_scroll" type="Control" parent="database"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_right = -8.0 +script = ExtResource( 10 ) +__meta__ = { +"_edit_use_anchors_": false +} + [node name="actions" type="VBoxContainer" parent="database"] anchor_left = 1.0 anchor_top = 1.0 |
