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 /test_input.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 'test_input.tscn')
| -rw-r--r-- | test_input.tscn | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test_input.tscn b/test_input.tscn new file mode 100644 index 0000000..4b507fe --- /dev/null +++ b/test_input.tscn @@ -0,0 +1,58 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://test_input.gd" type="Script" id=1] +[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=2] + +[node name="main" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="debug" type="RichTextLabel" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +custom_fonts/normal_font = ExtResource( 2 ) +scroll_following = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="a" type="ColorRect" parent="."] +anchor_right = 0.66 +anchor_bottom = 0.66 +color = Color( 1, 0, 0, 0.196078 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="b" type="ColorRect" parent="a"] +anchor_left = 0.5 +anchor_right = 1.502 +anchor_bottom = 1.0 +mouse_filter = 1 +color = Color( 0, 1, 0, 0.196078 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="c" type="ColorRect" parent="."] +anchor_top = 0.333 +anchor_right = 0.666 +anchor_bottom = 1.0 +color = Color( 0, 0, 1, 0.196078 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="d" type="ColorRect" parent="c"] +anchor_left = 0.5 +anchor_right = 1.502 +anchor_bottom = 1.0 +color = Color( 1, 1, 1, 0.196078 ) +script = ExtResource( 1 ) |
