swap smoothscrollcontainer with scrollcontainer
This commit is contained in:
@@ -1,21 +1,7 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://n5ra5w5aupx7"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://n5ra5w5aupx7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c8nfr825g08sy" path="res://addons/DatePicker/YearView.gd" id="1_hiiks"]
|
||||
[ext_resource type="Script" uid="uid://bgqglerkcylxx" path="res://addons/SmoothScroll/SmoothScrollContainer.gd" id="1_sw7yn"]
|
||||
[ext_resource type="ButtonGroup" uid="uid://bqxxq56yxl44h" path="res://addons/DatePicker/CalendarGroup.tres" id="2_2qddy"]
|
||||
[ext_resource type="Script" uid="uid://b7h0k2h2qwlqv" path="res://addons/SmoothScroll/scroll_damper/expo_scroll_damper.gd" id="2_iofl3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_wpifq"]
|
||||
script = ExtResource("2_iofl3")
|
||||
friction = 4.0
|
||||
minimum_velocity = 0.4
|
||||
rebound_strength = 7.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_kdl71"]
|
||||
script = ExtResource("2_iofl3")
|
||||
friction = 4.0
|
||||
minimum_velocity = 0.4
|
||||
rebound_strength = 7.0
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_iofl3"]
|
||||
|
||||
@@ -46,24 +32,18 @@ corner_radius_bottom_left = 4
|
||||
[node name="YearView" type="HBoxContainer"]
|
||||
script = ExtResource("1_hiiks")
|
||||
|
||||
[node name="SmoothScrollContainer" type="ScrollContainer" parent="."]
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
custom_minimum_size = Vector2(234, 240)
|
||||
layout_mode = 2
|
||||
script = ExtResource("1_sw7yn")
|
||||
wheel_scroll_damper = SubResource("Resource_wpifq")
|
||||
dragging_scroll_damper = SubResource("Resource_kdl71")
|
||||
drag_with_mouse = false
|
||||
allow_overdragging = false
|
||||
metadata/_custom_type_script = "uid://bgqglerkcylxx"
|
||||
|
||||
[node name="YearContainer" type="VBoxContainer" parent="SmoothScrollContainer"]
|
||||
[node name="YearContainer" type="VBoxContainer" parent="ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(234, 240)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Button" type="Button" parent="SmoothScrollContainer/YearContainer"]
|
||||
[node name="Button" type="Button" parent="ScrollContainer/YearContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(34, 5)
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user